diff --git a/src/filterRows.js b/src/filterRows.js index e289e30..bf38baa 100644 --- a/src/filterRows.js +++ b/src/filterRows.js @@ -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 || '';