View Full Version : [CLOSED] How to ensure grid panel grouping stays collapsed?

Feb 25, 2014, 8:56 AM

I am using ext.net 2.4.0 for mvc 5 .net 4.0

May I know how to ensure that my gridpanel grouping stays collapsed after a filterstore clear?

The scenario is like this:

I have a gridpanel which starts collapsed, using


Upon a button click it will filter based on certain parameters as below:

var store = App.DetailedReport.getStore();
var filters = getRecordFilter(parameterObject);

I will expand certain groupings to see individual rows, and then now I want to clear the filters to see all the groups again. (I used both storefilters.clear(); and store.clearFilter(true);)

Upon clearing the filters, the gridpanel does not start collapsed anymore but will load the expanded rows.

Problem is that there are thousands of rows and the browser will definitely hang trying to expand all the individual rows in each group in the DOM.

Is there any way to ensure to always have the groups collapsed? .StartCollapsed(true) doesn't seem to work in this filter clearing case.


Feb 25, 2014, 9:56 AM
Hi @WSTan,

Could you, please, provide a full test case?