Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1590
Drag and drop in combination with CellClickAction
posted

Hi, I'm trying to create a draggable column, but when I set the CellCLickAction to SelectRecord, the dragging doesn't work anymore. I have added an isolated sample that illustrates this behavior. If you start the sample you will see that 1 grid has a draggable column, and the other does not. The only difference is the CellClickAction setting. Any Advice?

TestDragDrop.zip
Parents
  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the PreviewMouseLeftButtonDown event of the first grid and if the OriginalSource is Rectangle I put the CellIntoEditMode – this way you are able to drag it. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

    TestDragDrop2.zip
Reply Children