Hi
I've enabled drag and drop of data between two UltraWinGrids, using the _SelectionDrag, _DragOver and _DragDrop events.
My problem is that the user first needs to click (mouse down and mouse up) on a row to select it, and then mouse-down again and drag and mouse-up to drop.
Is there a way to "automate" or "force" the selection of the row on the first mouse-down so the user can then already drag to drop?
What is your SelectTypeRow property set to? And what are you using for CellClickAction? I think you should be able to find a combiation of these two properties that does what you want.
Mike
e.Layout.Override.SelectTypeRow = SelectType.SingleAutoDrag;
did exactly what I wanted. Thanks for pointing me in the right direction.
SingleAutoDrag:Strategy used when only a single item can be selected and pressing the left button and dragging does not select other items but instead starts dragging the selected item immediately