Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to enable the Multi Selection feature in VGridControl

$
0
0

This feature is available out-of-the-box starting from version 16.1

For earlier versions:

These examples illustrate how to enable the Multi Selection feature in the VGridControl. Simply place the SelectionProvider component onto a form. Since this component implements the IExtenderProvider interface, the MultiSelect property will be shown for the VGridControl in the Visual Studio Property Grid. So, you will be able to turn this option on at design time. At runtime, use the SelectionProvider.SetMultiSelect method.


In short, selection operates in a similar manner as in the GridControl. By holding SHIFT, you can select cell ranges while by holding CTRL, you can select individual cells. In addition, category rows can be selected as well.


In the case of a MultiEditorRow, separate cells within this row can be selected by holding CTRL. If you hold SHIFT, a whole MultiEditorRow will be selected.

Question Comments

Added By: Alex B. at: 6/2/2015 10:58:48 PM    

Is it also possible to highlight the header cells, i.e. all selected cells in the left (=first) column?

Added By: Nadezhda (DevExpress Support) at: 6/3/2015 1:17:31 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: How to change cell color when using multi select mode . This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles