i'm using a GridControl which behaves much like a listbox.
The user can select a range of rows using the shift key and he can also select multiple individual rows with the ctrl key.
I've set the folowing properties :
- ListBoxSelectionMode = MultiExtended;
- AllowSelection = alphablent, row, multiple, shift, keyboard;
- ControllerOptions = ClickCells, SelectCells;
Is there a way to disable the multiple selection then the user clicks on a cell and drags the mouse and have it behade like SelectionMode.One instead?
ADAdministrator Syncfusion Team July 18, 2003 10:27 AM
You can handle the SelectionChanging event and cancel it if the grid already has selections and e.range is not empty. Haven't actually tried this in the ListBoxSelectionMode so ther emay be something I am overlooking, but I think it should work.