Browse by Tags
All Tags » DataGridCollectionView (RSS)
-
I have an ObservableCollection one of whose member properties is an ObservableCollection. I can get the first level to display correctly, but haven't much idea on how to get the nested collection working.
I have tried setting up the DataRelationDetailDescription and DetailConfiguration tags but I don't see where the binding to the nested ...
-
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 ...
-
Hi,I'm having trouble displaying a combox as a cell content in the datagrid.I'm using a DataSet as the DataContext. I currently have two tables: 1. The data for the grid (named ItemList with the columns Name and UnitId)2. The the data for the combobox (named Units with the columns Id and Description) The column UnitId in table ItemList references ...
-
1- you can do it this way://if starting from a DataTable reference.myDataGridControl.ItemsSource = new DataGridCollectionView( myDataTable.DefaultView );//directly from a DataViewmyDataGridControl.ItemsSource = new DataGridCollectionView( myDataView );2- You can specify to the DataGridControl NOT to create its columns automatically based on ...
|
|
|
|