ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: SureshB on November 04, 2015, 03:00:50 am

Title: remote grid rows selection with checkbox.
Post by: SureshB on November 04, 2015, 03:00:50 am
Hi

I am loading grid as remote. for each page data will load remotely. and while using checkbox selection for rows. when i move to second page. the rows selected in the first page are de selecting.

How to get the selected row ID's of previous page when i move to next or previous page to turn on them again.

Please help.

Title: Re: remote grid rows selection with checkbox.
Post by: paramvir on November 04, 2015, 11:59:39 am
These are the steps:

1. Listen to beforeChange event of the pager.

http://paramquery.com/pro/api/pager#event-beforeChange

2. Save the Row IDs of selected checkboxes as shown in this demo against the current page number.

http://paramquery.com/pro/demos/checkbox_id

3. Restore the checkbox state in the load event.

http://paramquery.com/pro/api#event-load

Please let me know if you need further assistance on this.
Title: Re: remote grid rows selection with checkbox.
Post by: SureshB on November 17, 2015, 07:50:17 pm
Thank you for the Support. It worked for me.