We use a GridPanel with the GroupingSummary feature and the RowEditing plugin. The GroupingFeature is configured with "startCollapsed: true".
All the groups are closed automatically after editing the data of a row and clicking on the Update button. It would be nice if the expanded groups would still be expanded after the Update.
The collapsedStates are set as they should be for the groups, expanded and collapsed. But the groups are rendered in the collapsed state.
It tried to override the collapse event to stop it from collapsing, but it is not triggered in this case. It is triggered if I collapse the group with collapseAll(), so I think this would be the correct event.
A refresh() on the view of the grid does not correct this issue.
I've added a button to expand the groups again. The .expand(groupName) is called, but it doesn't have any visible effect.
Ext JS version: 4.1
var groups = Ext.data.StoreManager.lookup('oppStore').getGroups();
var groupingFeature = Ext.getCmp('mainGrid').getView().features; // for testing only
var states = Ext.state.Manager.provider.get('GroupStates');
for (var x = 0; x < groups.length; x++)
var groupName = groups[x].name;
var state = states[groupName];
if (state != undefined)
expandedByRestoreGroupingStates = true;
console.log("collapsing: " + groupName);
console.log("expanding: " + groupName);