Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1045
show hierarchical data in excel like grid with cell merge
posted

Hi experts,

I'd like to show hierarchical data in xamdatagrid. I've tried bind data source to xamdatagrid, but the look is not what I want. So I need your help point me to the right place. If xamDataGrid is not the right control, please let me know which one i should use.

My datasource is like following with 3 levels. I have an Grandfather observablecollection, and each Grandfather contains an father collection, and each father contains a child collection. 

Grandfather: name, age 
               |____father: name, age
                           |__________________child: name, age

And the result should be rendered like following

----------------------------------------------------------------------------------------------------------------------------------------------------
|grandfather1.name|father1.name|child1.name||child2.name||child3.name||child4.name||child5.name||child6.name||child7.name|
__________________________________________________________________________________________________________________________
                             |father2.name|child1.name||child2.name||child3.name||child4.name||child5.name||child6.name||child7.name|
___________________________________________________________________________________________________________________________
|grandfather2.name|father1.name|child1.name||child2.name||child3.name||child4.name||child5.name||child6.name||child7.name|
__________________________________________________________________________________________________________________________
                            |father2.name|child1.name||child2.name||child3.name||child4.name||child5.name||child6.name||child7.name|

Please help!!!
Thanks.

Parents
  • 1045
    posted

    |grandfather1.name|father1.name|child1.name|
                                |father2.name|child1.name|
    |grandfather2.name|father1.name|child1.name|
                                |father2.name|child1.name|

Reply Children
No Data