Browse by Tags
All Tags » Columns » DataGridCollectionView (RSS)
-
Hi,
I am binding the DataGridControl from code behind using datagridcollectionview.....Suppose my datatable contains 5 columns . Now in the xceed grid i want to display the values of 1st and 3rd column in the same header i.e. in one column . How can i achieve this ?????
-
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 ...
|
|
|
|