Skip to content

Commit

Permalink
fix: load cell data from data list
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Jan 3, 2024
1 parent dfbd98a commit 04a0202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filterRows.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default function filterRows(rows, filters, data) {
function getFilterMethod(rows, data, filter) {
const getFormattedValue = cell => {
let formatter = CellManager.getCustomCellFormatter(cell);
if (data && data.constructor.name === 'DataManager') {
data = data.getData(cell.rowIndex);
if (data && data.data & data.data.length) {
data = data.data[cell.rowIndex];
} else {
data = rows[cell.rowIndex];
}
Expand Down

0 comments on commit 04a0202

Please sign in to comment.