Merge pull request #182 from shariquerik/pass-filter-instead-of-true
fix: pass filter instead of true
This commit is contained in:
commit
6d29880fb7
@ -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 || '';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user