Author Topic: Prevent Grid Collapse  (Read 2236 times)

chirag

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 27
    • View Profile
Prevent Grid Collapse
« 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 ?

chirag

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Prevent Grid Collapse
« Reply #1 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.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Prevent Grid Collapse
« Reply #2 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.

chirag

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Prevent Grid Collapse
« Reply #3 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.