ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: chirag on September 27, 2019, 08:12:05 pm

Title: Prevent Grid Collapse
Post by: chirag on September 27, 2019, 08:12:05 pm
hi,

I have a grid that gets collapsed after I make some changes and save.
I want to retain the expanded state of the grid for the rows that I've expanded.
How can I achieve that using API 5.1 ?
Title: Re: Prevent Grid Collapse
Post by: chirag on October 07, 2019, 07:45:51 pm
hi,
this one is really important.
Please let me know if any further information is required on this.
Title: Re: Prevent Grid Collapse
Post by: paramvir on October 15, 2019, 07:42:03 am
What kind of changes are you doing in row grouping view? Is it only update records or add/delete rows too.


PS: Your support subscription has been expired.
Title: Re: Prevent Grid Collapse
Post by: chirag on October 15, 2019, 02:29:37 pm
Only update operation.
I am using the following lines of code

 $("#grid1").pqGrid("loadState", { refresh: true });
 $("#grid1").pqGrid("refreshCM");

It is not refreshing the grid and that's preventing the rowGrouping from collapsing.
But I want to achieve grid refresh without the rowGrouping getting collapsed.