I'm stucked in the process of retrieving the rowIndexes of a dynamic table which contain the check boxes.

1. User selects multiple options(like filter)
2. On a check / Uncheck the function should trigger and display the filtered results in other Div.
please let me know how to fetch the rowindexes(i.e., all the selected options) on check/uncheck action on a checkbox filtering pane.

Help is greatly appreciated.