I have a grid with a checkBoxSelection column.
What is the recommended way of returning an array of rows that have been checked? Further, how does one return an array of rows that have been checked, and are currently visible via any applied filter? (Exclude rows that are not visible due to filtering.)
I tried using beforeCheck/beforeunCheck to add/remove classes to rows, coupled with getRowsByClass, but beforeCheck/beforeunCheck is not triggered when using the check all/uncheck all checkbox in the column header, making beforeCheck/beforeunCheck somewhat crippled. selection({method:'getSelection', type:row}) only seems to return the last row that was checked.