I have displayed data in Xceed Data Grid via DataTable.
DataTable dt = getProfile();
gridView2.ItemsSource = new DataGridCollectionView(dt.DefaultView);
I dont want user to make edit the data in the xceed datagrid itself but rather make edit in another window or popup. There is a Column named ID that is unique to each row in the datagrid and the database also so I need the cell value of selected row in another button click event or double click event of grid will also do.
I want to do something like this.
int id =gridView2.SelectedRow.Cells[“ID”].Value;
Imported from legacy forums. Posted by Rocky (had 1244 views)