From version 13.2, the GridView in the XtraGrid control provides a built-in checkbox column for multiple row selection.
This feature is demonstrated in the example that targets version 13.2. Additional information can be found in the following topic: Multiple Row Selection via Built-In Check Column
If you are using an earlier version of DevExpress controls, see the attached example that targets this earlier version.
This example demonstrates a method to manually create a check column for row selection. The example is similar to the one from the A371 article. The difference is that this example employs the grid's built-in multi-selection and keeps it in sync with the check boxes. All code related to selection is placed into the GridCheckMarksSelection helper class, so it should be easy to port this functionality to your application.
Please note if you use the AppearanceEvenRow and AppearanceOddRow styles, by default they have a higher priority than the RowStyle event used for the selection in this example. To avoid drawing incorrect selected rows, enable the e.HighPriority option. See Also: E1271
Example Comments
Added By: Salam at: 11/27/2012 1:40:11 AM
Hello Devexpress,
I applied the same in my XAF ListView. when selected the records through check box. its perfect. But when I tried by clicking the row with control key . the Checkboxes are note checked. How can I make this a two way binding?