viewBodyExpandEventHandler: function (row, r) { if (!row.grid) { this.gridCreateRoutine(row, r.get('id')); } }, viewRevreshEventHandler: function () { // Of course, in init method of my controller this.hashOfGrids = {}; Ext4.Object.each(this.hashOfGrids, function(id, data) { this.createRowGrid(data.el, data.id); }, this); }, gridCreateRoutine: function(row, id) { var l = 'renderdiv' + id, el = Ext.fly(layer); if (el) { el.setHTML(''); Ext.create('Ext.grid.Panel', { renderTo : l, }); this.hashOfGrids[id] = { el : row, id : id }; } },
ExtJS 4.2.1 nested grids/panels/etc. in RowExpander issue
As I see, in 4.2.1 all content of them does not recover after grid view refreshing (for example, after page navigation) - it only recovers text context of rowTpl. So I did following workaround: