Results 1 to 3 of 3

Thread: How to (properly) render additional data in grid with RowExpander

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default Unanswered: How to (properly) render additional data in grid with RowExpander

    I'm trying to render some data in the rowbody in a grid (with the RowExpander plugin). My problem is that the ol' rowBodyTpl isn't enough for me as this data is from Records on Stores from the record being rendered (hmmm...).

    Putting it simply: Every record of the grid has a store in it (lets call it Items). So, I want to render therecord data and some data of the Items records aswell.

    What would be the best(ish) way of doing so?
    Override the renderer function of the rowexpander plugin, override the getAdditionalData, or none of these?Thank you.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,388
    Answers
    716
    Vote Rating
    499
      0  

    Default

    You want an embedded grid for each parent row?

    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Not really. I accomplished what I was looking for by overriding the "getRowBodyFeatureData" method of the rowexpander plugin and feeding the record instead of the record data to the getRowBodyContents and then let the XTemplate work its magic

Tags for this Thread

Posting Permissions

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