[CLOSED] Grid Panel Grouping Questions

  1. #1

    [CLOSED] Grid Panel Grouping Questions

    I am looking at the example "https://examples1.ext.net/#/GridPane...oupingSummary/" and my question is with the grouped row.

    I have a parent/child relationship and I wanted to group the data to "show" the parent data and then show child data if the + is pressed.

    It appears the grouping removes the "grouped" column. (parent data)

    I want the parent data to show where i highlighed the attached image in red. (is currently blank)

    Any suggestions?

    Thanks
    /Z
    Attached Thumbnails Click image for larger version. 

Name:	Untitled.png 
Views:	36 
Size:	30.4 KB 
ID:	5967  
    Last edited by Daniil; Apr 11, 2013 at 3:54 AM. Reason: [CLOSED]
  2. #2
    Hi @Z,

    Quote Originally Posted by Z View Post
    It appears the grouping removes the "grouped" column. (parent data)
    Due to the HideGroupedColumn="true" setting of the GroupingView. You can remove/set to false it if needed.

    Quote Originally Posted by Z View Post
    I want the parent data to show where i highlighed the attached image in red. (is currently blank)
    I don't understand well what you mean here. For example, the first group. There is "Ext Forms: Field Anchoring". Actually, it is a value of the grouped (hidden) column.
  3. #3
    Let me clarify with a better example

    Table: Person
    table: Address

    One person can have many addresses.

    I want to see this (bars.mean column separator)

    + Tony Scott | Opertations Team | Manager

    If i click +, then i see all addresses.
    Address1 | city1 | zip1
    Address2 | city2 | zip2

    Basically all the "expandable" rows are people and all expanded items are addresses.

    In the ext
    Net online examples, the person is grouped into the address data.

    Thxs
    /Z
  4. #4
    What is the group field in your scenario?
  5. #5
    Grouping column is thw person Id

    We create record on controller called groupingId

    For Person object, we populate from Person.id
    For Address object, we populate fron address.personId

    Therefore, a person and all their addresses have same grouping key.
    /Z
  6. #6
    Thank you.

    Did you try to tweak a GroupTextTpl?
    http://docs.sencha.com/ext-js/3-4/#!...g-groupTextTpl

Similar Threads

  1. Replies: 1
    Last Post: Jan 17, 2014, 3:43 PM
  2. [OPEN] [#26] Grid panel grouping and sorting from code-behind
    By Manni in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Dec 12, 2012, 10:19 PM
  3. [CLOSED] Sorting group in grouping grid panel
    By ginsar in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 10, 2012, 3:18 AM
  4. [CLOSED] Grid Panel Grouping Issue
    By jesperhp in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 16, 2012, 6:43 AM
  5. Replies: 1
    Last Post: Sep 10, 2010, 9:57 AM

Posting Permissions