-
18 Jun 2009 10:32 AM #1
Grid inside of a Grid
Grid inside of a Grid
Is it possible to take the RowExpander plugin a step further and on expand attach another grid to the row?
The reason for this is I have a parent object that has a collection inside of it. I want to show every item of that collection.
Any suggestions would be appreciated, thanks
-
18 Jun 2009 12:37 PM #2
Try subclassing RowExpander and override expandRow. In addition to calling super.expandRow(row), you should also do something like
Its been a while since we had something like this - ended up taking a different tack, since the resulting UI isnt as nice as we thought it would be.Code:newGrid.render(row.getElement());
Have you considered a TreeGrid?
-
18 Jun 2009 1:39 PM #3
hm.. The treegrid idea might just work out!
Thanks for the suggestions


Reply With Quote