Nested WPF DataGrids
Posted
by jvberg
on Stack Overflow
See other posts from Stack Overflow
or by jvberg
Published on 2009-05-15T22:59:02Z
Indexed on
2010/05/02
13:08 UTC
Read the original article
Hit count: 324
I have a DataGrid (from the toolkit) and I want to nest another DataGrid in the DataGrid.RowDetailsTemplate. The trick is I want to bring back the data from one table in the main grid and then based on row selection go and get additonal detail from a different table and show it in the DataGrid in the detail template.
This is easy enough to do in 2 seperate DataGrids but I am having trouble getting it to work with the nested version.
Is this even possible? If so, could someone point me in the right direction. I should note I am using LinqToSql clases to populate the data.
Thanks for your consideration. -Joel
© Stack Overflow or respective owner