I'm trying to use the select-all checkbox in a grid header using the following code:
Selecting all rows on the initial grid works just fine, as is expected.
However, applying a column filter from the column's menu, thus hiding some of the existing rows and then pressing the select-all checkbox results in both visible and hidden rows being selected. Is there any way or property that allows me to get only the visible selected rows?
Also, it appears that the selected rows are not reset when applying the column filter. Is that intended behavior or is that somehow configurable. When applying the column filter which hides selected rows, I'd like them to be deselected as well.