Is there any way to allow the user to do a multiple row selection just by clicking and dragging along cells within the actual grid? I.e. Without using the indicator column?
Devexpress Gridcontrol Multiselect without using indicator column
16.9k Views Asked by user832747 At
2
There are 2 best solutions below
0
On
To achieve this behavior, you need to handle the MouseDown and MouseMove events and select rows programmatically. You also need to
enablethemulti-selectionfeature and switch themulti-selection modeto "CellSelect" to be able to select individual cells.
download the attached sample from this link and customize it to implement your functionality...
MultiSelect Rows & Cells simultaneously
check the following thread, which using indicator but you can customize it hiding indicator and setting select option to cellselect etc... "mulitiselect without CTRL key" on Devexpress..
search result that help you implement that you are looking for...
You can do that by cell using just properties by setting the following properties located in Gridview.Options
If you need to do it by entire rows, you are stuck writing that functionality yourself using
GridView.CalcHitInfoand various events.