Hi All,
I want to display parent and child relation records in datagrid.
when i click on + symbol on parent record, all child records will display.
Please assist on this.
Regards,
Jeevan.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tom MohanPosted Mar 29, 2015, 12:14 PM
The solution of your requirement is here http://blogs.msdn.com/b/mrochon/archive/2009/10/16/displaying-hierarchical-data-in-the-datagrid.aspx
This the silverlight version, Don't worry about silverlight, download the project copy the rowdef, griddef, columndef, LevelToMarginConverter and xaml to your wpf solution. That will work. I hope you got the solution.
Prasham SabadraPosted Mar 26, 2015, 8:18 AM
Please check following links once
http://www.tugberkugurlu.com/archive/parent-child-view-in-a-single-table-with-gridview-control-on-asp-net-web-forms
http://www.codeproject.com/Articles/189621/Creating-an-expandable-master-details-table-jQuery