Pergunta

The user is dragging something over my TcxGrid component. How can I know which row it gets dropped on?

Foi útil?

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.

How to implement drag-and-drop inside a Grid

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
scroll top