Skip to content

Commit

Permalink
docs: make global filter work in row selection example
Browse files Browse the repository at this point in the history
until now the globalFilter was just set into a useState but it was never used to filter
  • Loading branch information
Pascalmh authored Feb 27, 2025
1 parent db745af commit 3230d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/react/row-selection/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ function App() {
data,
columns,
state: {
globalFilter,
rowSelection,
},
enableRowSelection: true, //enable row selection for all rows
Expand Down

0 comments on commit 3230d57

Please sign in to comment.