This is a migrated thread and some comments may be shown as answers.

Losing GridViewSelectColumn on binding the grid to a DataTable.

1 Answer 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rajani
Top achievements
Rank 1
Rajani asked on 25 Feb 2013, 10:32 PM
I'm using the RadGridView and have its DataContext bound to a DataTable. By doing so, I'm losing the GridViewSelectColumn which is my first column in the grid. How can I bound my data table to a RadGridView and yet have a GrdiViewSelectColumn as my first column in the grid?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Rajani
Top achievements
Rank 1
answered on 25 Feb 2013, 10:42 PM
Never mind, I figured out the problem .. From Code-Behind I was adding the GridViewSelectColumn to the RadGridView after setting the ItemsSource. Instead I should add the GridViewSelectColumn first and then bind the ItemsSource to the DataTable.
Tags
GridView
Asked by
Rajani
Top achievements
Rank 1
Answers by
Rajani
Top achievements
Rank 1
Share this question
or