fix: pass filter instead of true

This commit is contained in:
Shariq Ansari 2023-12-07 19:14:10 +05:30
parent b21e547794
commit 739182562a

View File

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