View Full Version : Subgrid
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. . .
Thank's!
httpdotcom
17 Aug 2009, 11:52 AM
GridView - enableRowBody
http://extjs.com/deploy/dev/docs/source/GridView.html#cfg-Ext.grid.GridView-enableRowBody
Thank, I used example of "grid3", where has the RowExpand, I add the grid in the onExpand event his. . .
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....
Powered by vBulletin® Version 4.2.3 Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.