-
12 Jul 2012 5:44 AM #1
Unanswered: How to (properly) render additional data in grid with RowExpander
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.
-
26 Jul 2012 2:31 PM #2Sencha - Support Team
- Join Date
- Jul 2010
- Location
- Houston, Tx
- Posts
- 7,185
- Vote Rating
- 194
- Answers
- 433
You want an embedded grid for each parent row?
Scott.
-
26 Jul 2012 2:39 PM #3
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


Reply With Quote