View Full Version : Extjs4.1- Nested Grid

13 Aug 2012, 9:50 PM
Hi All,

Is there any features or plugins like nested grid option available in extjs 4.1?

Is there any way to show the parent / child relation ship in the grid ? i mean , by default parent record will be shown onclick of some icon it will be shown the child record.

13 Aug 2012, 10:58 PM
take a look at Ext.ux.RowExpander. You can show additional data which is displayed when you click a "+" sign on the record in the main grid. However, I dont know if its possible to render another grid into this. You may display data from other fields which you are not displaying in the main grid.

14 Aug 2012, 3:02 AM
A simple multiple to one mapping can be obtained using the grouping feature.
You can find its example here http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/groupgrid.html
A (http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/grid/groupgrid.html)lso you can see the ActionColumn in the docs if u want a grid in a cell

I (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.column.Action)ts a lot discussed topic but yet i do not see a clean implementation of it yet.
If anyone has any sample, please share.