mui-datatables
mui-datatables copied to clipboard
Select all checkbox to trigger function when getting paginated data from server
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.
options { onTableChange: (action, tableState) =>{...} } is triggered when any state in the table is updated. it might be used.