Results 1 to 3 of 3

Thread: Grid inside of a Grid

  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    112
    Vote Rating
    1
      0  

    Default 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 User
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,737
    Vote Rating
    93
      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
    112
    Vote Rating
    1
      0  

    Default

    hm.. The treegrid idea might just work out!

    Thanks for the suggestions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •