ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: vijay@spinetechnologies on June 17, 2022, 03:41:06 pm

Title: How to Get All Selected Rows. Even when Filtered is applied.
Post by: vijay@spinetechnologies on June 17, 2022, 03:41:06 pm
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.




Title: Re: How to Get All Selected Rows. Even when Filtered is applied.
Post by: paramvir on June 17, 2022, 07:59:25 pm
Please set filterModel.hideRows = true
Title: Re: How to Get All Selected Rows. Even when Filtered is applied.
Post by: vijay@spinetechnologies on July 18, 2022, 01:07:55 pm
Given solution is working properly :).
Thanks for your reply.
Title: Re: How to Get All Selected Rows. Even when Filtered is applied.
Post by: vijay@spinetechnologies on February 23, 2023, 10:54:52 am
Hi team,

If we use filterModel.hideRows = true, then select all Header checkbox is selecting all records. i want to select only filtered records.
Title: Re: How to Get All Selected Rows. Even when Filtered is applied.
Post by: paramvir on February 23, 2023, 11:43:45 am
That contradicts with your original requirement  :)

Quote
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.

Please clarify.