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

Showing hierarchical grid view for parent grid view bound to a DataTable

1 Answer 61 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Swapnil
Top achievements
Rank 1
Swapnil asked on 21 Dec 2017, 12:15 PM

Hi,

I have a parent grid view which is bound to a datatable. Is it possible to show a hierarchical child grid view for a datatable?

Regards,

Swapnil

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 26 Dec 2017, 08:00 AM
Hi Swapnil,

RadGridView provides support for populating its rowdetails/hierarchy when bound to a datatable. You need to define the RowDetailsTemplate/HierarchicalChildTemplate and bind the nested grid to the needed property. Please, take a look at the this and this sections of RadGridView's online help for more information on these topics.

Hopefully, this helps.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Swapnil
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or