PDA

View Full Version : Saving the grid grouping state across the pages.



Santra
1 Sep 2015, 4:53 AM
Hi,
I am using a grid panel in my application. I have implemented the grouping feature for it.I have a button that expands and collapses all the groups.
1.On load grouping is disabled and button is not visible.

2.When the grid is grouped based on any column then the button is visible.And the groups are initially expanded. I used startCollapsed : false

The problem is when I collapse all the groups using the button and move to next page using the pagination toolbar,the groups are all expanded.If the groups are collapsed then I want them to be collapsed across all the pages.
If they are expanded they should be expanded across all the pages.

Hope I am clear with my question.Is there any way to accomplish this using extjs 4.1 ?Please help me out with this.Thanks in advance.

yeghikyan
2 Sep 2015, 8:26 AM
http://fiddle.sencha.com

tristan.lee
3 Sep 2015, 1:50 PM
As mentioned above, please create a fiddle (https://fiddle.sencha.com) to demonstrate the issue so we can help you resolve it.