Skip to content

Commit

Permalink
[DataGrid] Fix server-side filtering demo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
MBilalShafi committed Apr 3, 2024
1 parent a1975c6 commit 7f8ac34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/x-data-grid-generator/src/hooks/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const getFilteredRows = (
return rows.filter((row: GridRowModel) =>
filterModel.items.every((_, index) => {
const value = valueGetters[index](row);
return filterFunctions[index] === null ? true : filterFunctions[index]({ value });
return filterFunctions[index] === null ? true : filterFunctions[index](value);
}),
);
};
Expand Down

0 comments on commit 7f8ac34

Please sign in to comment.