Skip to content

Commit

Permalink
Merge pull request #188 from shariquerik/load-data
Browse files Browse the repository at this point in the history
fix: load cell data from data list
  • Loading branch information
shariquerik authored Jan 3, 2024
2 parents dfbd98a + 04a0202 commit f46e714
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 f46e714

Please sign in to comment.