How can I tell which TcxGrid row the user dropped something onto?
-
10-10-2019 - |
Pergunta
The user is dragging something over my TcxGrid component. How can I know which row it gets dropped on?
Solução
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.
Outras dicas
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow