This is a migrated thread and some comments may be shown as answers.

Hieararchial Gridview with several subitems

2 Answers 105 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Subarna Bandyopadhya
Top achievements
Rank 1
Subarna Bandyopadhya asked on 21 Mar 2011, 12:38 PM
Hi ,
I am trying to display hiearchial data in the gridview . Please see the attached screenshot .
The parent level can have multiple child elements which themselves can be hiearchial.
I have used ChildTableDefinition and HiearchyChildTemplate, but how do I specify different HieararchyChildTemplate for different subitems ?

2 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 22 Mar 2011, 08:35 AM
Hello Subarna Bandyopadhya,

I am sending you a possible approach to you case. Please, refer to the attached project and let us know, if it meets your requirements.

Greetings,
Ivan Ivanov
the Telerik team
0
Subarna Bandyopadhya
Top achievements
Rank 1
answered on 22 Mar 2011, 09:43 PM
Many thanks for your response. Your example did help me think in the right direction. I could achieve the results by changing the data template inside the HiearchyChildTemplate.
Tags
GridView
Asked by
Subarna Bandyopadhya
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Subarna Bandyopadhya
Top achievements
Rank 1
Share this question
or