سؤال

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.

How to implement drag-and-drop inside a Grid

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top