Hi all,
I have a wingrid in my application where I have set the CellClickAction as RowSelect. When i set the SelectTypeRow as SelectType.ExtendedAutoDrag or SelectType.Extended i am able to select multiple rows by dragging the mouse, but my application should allow multiple row selection only using the control key.
Is there any way by which i can disable selection of rows by dragging the mouse?
Thanks in advance.
Prenil.
Hi Prenil,
I don't think this is possible. Using the CTRL key for range selection is completely non-standard for a Windows application. CTRL is usually used for non-contiguous selected.
I think you can stop the range selection by handling the SelectionDrag event of the grid and cancelling it. But I don't see a way to get it to work again when the CTRL key is down.
Hi,
I need to stop highlighting and select different regions. How to do that i.e. If a region is seleted that user should not be able to select another region.
I don't understand your question. What so you mean by "region"? Is this related to the previous discussion in this thread (which is over 3 years old)?