locked
If my app have a group in group what should I do?

    Question

  • For ex : grid application . They have SampleGroup = [ { key: .. } ]; and then ItemGroup =  [ SampleGroup[0], group:... ];

    If I want ItemGroup to be a group and create another Array to push item in it. For Ex: NewGroup = [ ItemGroup[0],...]; 

    I knew that we specify data in each group by Key and Groupkey. Then what should I do ?  item.group1.group.key ?

    more carify : SampleGroup(group) > ItemGroup(group) > NewGroup(Item) .

    Sorry for my english , hope you understand what I'm trying to explain . Thanks.


    • Changed type FcosAlfa Wednesday, May 16, 2012 7:11 AM it need an answer
    • Edited by FcosAlfa Wednesday, May 16, 2012 7:11 AM
    Wednesday, May 16, 2012 7:06 AM

All replies

  • Hi F,

    The gridview does not support nested groups.  You will have to design your own interface to handle data arranged this way.

    What if you simply have a data source that has the names of the top level groups and then the nested groups is the data?  Then when you are in the sub group and someone clicks on the sub group name you can go to another page to display the group items in the last gridview.

    -Jeff


    Jeff Sanders (MSFT)

    Wednesday, May 16, 2012 12:40 PM
    Moderator
  • Is it possible to use " key.group1.group2 " ?
    Wednesday, May 16, 2012 7:08 PM