gregnb / mui-datatables

Datatables for React using Material-UI
MIT License
2.71k stars 932 forks source link

select all rows with server side data #1849

Open noylevy12 opened 2 years ago

noylevy12 commented 2 years ago

hey!

There is any way to know if the "select all rows" checkbox is checked? I want to catch this event and really select all rows. tnx :)

Expected Behavior

maybe event handler for "select all rows" checkbox

Current Behavior

check this checkbox will select just the rows in current page

Steps to Reproduce (for bugs)

  1. set serverSide: true
  2. check "select all rows" checkbox at header
  3. Select only the rows that is current page

Your Environment

Tech Version
Material-UI 4.11
MUI-datatables 3.7.1
React 16.13.1
browser chrome
etc
thorep commented 1 year ago

Im wondering this too