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

Problems creating Hierarchical layout using datatables

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rod Yager
Top achievements
Rank 1
Rod Yager asked on 05 Oct 2011, 02:52 PM
For some reason I can't seem to get a hierarchical layout using my datatables. My dataset already contains the correct relation between  my two tables. Do you have an example of how to do this. I have tried both the DataLoading method and HierachicalDataTemplate method and neither one seems to work. I can get the RowLoaded event to show the expander because DataRow.GetChildRows returns records.
Thanks,
Rod

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Oct 2011, 03:15 PM
Hello Rod,

 If you have DataSet with relation you can simply assign this to the grid ItemsSource - no need to specify anything else (templates, etc.).

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Rod Yager
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or