mui-datatables icon indicating copy to clipboard operation
mui-datatables copied to clipboard

Select all checkbox to trigger function when getting paginated data from server

Open thorep opened this issue 2 years ago • 1 comments

Hi. Currently the checkbox to select all selects all items the datatable have access to. Is there a way to trigger a function when this button is clicked? Can't find it in the documentation . When check all is clicked I need to fetch all pages from server and select all items, even those who are not visible in the datatable.

thorep avatar Jan 06 '23 07:01 thorep

options { onTableChange: (action, tableState) =>{...} } is triggered when any state in the table is updated. it might be used.

gitMkara avatar Feb 17 '23 14:02 gitMkara