1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    111
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default 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

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    88
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Try subclassing RowExpander and override expandRow. In addition to calling super.expandRow(row), you should also do something like
    Code:
    newGrid.render(row.getElement());
    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.

    Have you considered a TreeGrid?

  3. #3
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    111
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    hm.. The treegrid idea might just work out!

    Thanks for the suggestions

Thread Participants: 1