I have implemented GRIDCONTROL
in which I have added a TABLEVIEW
which contains Columns say NAME, AGE, SALARY
. I'am fetching the data from Database and filling the columns accordingly. Now I want to add a Checkbox
to each row so that if I could select two rows at a time and fetch corresponding data. How to implement the Checkbox?
I am Using DEVEXPRESS controls
<GridControl Name="gridControl1">
<GridControl.View>
<TableView x:Name="view" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
</GridControl.View>
<GridControl.Columns>
<GridColumn FieldName="Name" Name="Name" Width="120" Header="Name"/>
<GridColumn FieldName="Age" Name="Age" Width="120" Header="Age"/>
<GridColumn FieldName="Salary" Name="Salary" Width="120" Header="Salary" />
<GridControl.Columns>
<GridControl>
Now I want to add Checkboxes for each entry of the row, So that if the select that checkbox I could fetch all the data corresponding to that Row.