May 04, 2016, 6:45 PM
Hello again!
I'm pretty sure this is still a limitation due to the grid panel nesting on the row expander.
It tells a wrong record id for the root node, probably based on the outer grids, and then the break happens.
To address this limitation you can be going off adding this on your base layout (or on the specific pages using the grid panel). Overall this is a safe replacement so you should be good leaving this on your global layout file:
I'm pretty sure this is still a limitation due to the grid panel nesting on the row expander.
It tells a wrong record id for the root node, probably based on the outer grids, and then the break happens.
To address this limitation you can be going off adding this on your base layout (or on the specific pages using the grid panel). Overall this is a safe replacement so you should be good leaving this on your global layout file:
<script>
Ext.define('Ext.grid.feature.GroupStore', {
override: 'Ext.grid.feature.GroupStore',
indexOf: function (record) {
var ret = -1;
if (record && !record.isCollapsedPlaceholder) {
ret = this.data.indexOf(record);
}
return ret;
}
});
</script>
Let us know if this fixes the issue for you. I'm still not sure we should file this as a bug, knowing the limitations of the RowExpander, in no other situation group store would be passing invalid record IDs to grid events.