1. #1
    Sencha User
    Join Date
    Sep 2008
    Location
    Zurich (CH)
    Posts
    155
    Vote Rating
    0
    ExtJSBeginner is on a distinguished road

      0  

    Default Rendering Properties of a GroupingStore using groupTextTpl

    Rendering Properties of a GroupingStore using groupTextTpl


    dear all,

    i have a GroupingStore which uses several fields, lets call them A, B and C. GroupingField is A but B only changes when A changes. One could therefore also group by B.

    My question is now the following: is it possible to write a groupTextTpl for the GroupingView such that the 'grouping string' is something like A, B? Writing A using {text} works fine but I have no idea on how to access other attribs from the record.

    Hopefully, this question is understandable...

    Could anybody help me here?

    Thanks in advance!

  2. #2
    Sencha User
    Join Date
    Sep 2008
    Location
    Zurich (CH)
    Posts
    155
    Vote Rating
    0
    ExtJSBeginner is on a distinguished road

      0  

    Default


    No ideas? I just want to access properties from the same record...

  3. #3
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    91
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You want something like:
    Code:
    {text}, {values.rs[0].data.B}
    (untested)

  4. #4
    Sencha User
    Join Date
    Sep 2008
    Location
    Zurich (CH)
    Posts
    155
    Vote Rating
    0
    ExtJSBeginner is on a distinguished road

      0  

    Default


    Thats it, exactly! Thanks a lot!

Thread Participants: 1