1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    12
    Vote Rating
    0
    mjbcesar is on a distinguished road

      0  

    Default 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.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,912
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      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
    mjbcesar is on a distinguished road

      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

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi