Skip to content

Commit

Permalink
Merge pull request #184 from shariquerik/send-data-to-formatter
Browse files Browse the repository at this point in the history
fix: send data to formatter
  • Loading branch information
shariquerik committed Dec 21, 2023
2 parents 8f074a8 + 48d5b97 commit d29615b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filterRows.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getFilterMethod(rows, data, 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], filter);
cell.html = formatter(cell.content, rows[cell.rowIndex], cell.column, rows[cell.rowIndex], filter, data);
return stripHTML(cell.html);
}
return cell.content || '';
Expand Down

0 comments on commit d29615b

Please sign in to comment.