Merge pull request #182 from shariquerik/pass-filter-instead-of-true

fix: pass filter instead of true
This commit is contained in:
Shariq Ansari 2023-12-07 19:18:37 +05:30 committed by GitHub
commit 6d29880fb7
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], true);
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex], filter);
return stripHTML(cell.html);
}
return cell.content || '';