How can I tell which TcxGrid row the user dropped something onto?
-
10-10-2019 - |
سؤال
The user is dragging something over my TcxGrid component. How can I know which row it gets dropped on?
المحلول
Here is an example located on the DevExpress site for a drag and drop inside a cxGrid. I used the same technic to implement a drag and drop between two cxGrids.
نصائح أخرى
You Should get some feedback from the drop event or use the Mouse up event then get the grid co-ordinates from the X,Y positions using on one the many Dev express calls. I think, off-hand.
لا تنتمي إلى StackOverflow