Browse by Tags
All Tags » DataGridCollect... » Master Detail (RSS)
-
I'm trying to create a master / detail grid with a strongy typed dataset. The dataset contains two tables and the relationship between them. The xaml for the grid is.......
<xcdg:DataGridControl Grid.Row=''1'' AutoCreateColumns=''False'' Name=''dgAdverts'' ReadOnly=''True'' SelectionMode=''Single'' EditTriggers=''None'' ...
-
Master/detail is supported through the DataGridCollectionView[Source]. In the example you provide, you initially bind the grid to the DataGridCollectionViewSource that has the Assignments as a source; however, in the Loaded event, you then reassign Assignment's DefaultView to the grid's ItemsSource property, removing the master/detail ...
|
|
|
|