I am using global search to filter data and then select rows using checkbox.
When i get the selectedRows using SelectRow().getSelection() it only gives me the selected rows from filtered records.
I want to get all selected rows without filter.
(i.e if I clear the search textbox and get selected rows then it gives all selected rows, but when the search textbox is not empty then it is giving selected rows from filtered records only).
I have also attached screenshots for reference.
I am searching records using global search
In Attachment 1 I have selected the employee field and in Attachment 2 I have selected the age field.