View Full Version : Subgrid

17 Aug 2009, 9:19 AM
Hello. . .

I wanna to know if is possible add a grid into other grid, for example, after a row with basic informations of register has a other grid. . .

If the Ext don't has a especific option for this case, I wanna to know if, and like, is possible add a "div" after a row in grid. . .


17 Aug 2009, 11:52 AM
GridView - enableRowBody


19 Aug 2009, 3:47 AM
Thank, I used example of "grid3", where has the RowExpand, I add the grid in the onExpand event his. . .

20 Oct 2015, 9:10 PM
Hi Even I am even beginner to Extjs For above issue u can add a grid into other grid, using rowexpander. U can add this code to parent grid. onRowExpand : function(rowNode, record, expandRow) { var row = 'mynewrow'; var innerPanel = Ext.create('MyProject.view.NewGrid'); innerPanel.render(row); }, But on collapse I want to destroy same grid. onRowCollapse : function(rowNode, record, expandRow) { ///Code to add here } how can we destroy same grid on collapse or when we again expand I want to destroy the earlier created grid? Kindly suggest solution....