Hi ,
do you have an example of pages and select all
when the onHeaderSelectionChange event - select all the items in all pages in grid?
in the documention of selection -
the example below , selected all in current page only
const onHeaderSelectionChange = React.useCallback((event) => {const checkboxElement = event.syntheticEvent.target;
const checked = checkboxElement.checked;
const newSelectedState = {};
event.dataItems.forEach((item) => {
newSelectedState[idGetter(item)] = checked;
});
setSelectedState(newSelectedState);
}, []);
thanks!