I want to filter my AG grid rows based on checkbox selection and I want to keep them as selected.
I know using below method I can filter selected rows but after filtering the rows are losing its selected state.
gridOptions.api.setRowData(gridOptions.api.getSelectedRows())
I can run gridoptions.api.selectAll() but I have to avoid it as I don't want AG grid selection change event to be triggered.
Any Idea how can I achieve it?