fix: get content value for specific fieldtypes

This commit is contained in:
Shariq Ansari 2023-03-03 11:33:03 +05:30 committed by GitHub
parent 6c79a19b29
commit 71272f8f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ function getFilterMethod(rows, filter) {
const getFormattedValue = cell => {
let formatter = CellManager.getCustomCellFormatter(cell);
if (formatter && cell.content) {
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex]);
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex], true);
return stripHTML(cell.html);
}
return cell.content || '';