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
530
Visual enhancement for row drag and drop
posted

Hi, I'm trying to implement row drag and drop on a UltraGrid and I think I got some of it to work by looking at the example on your knowledge base, but I would like to apply some highlighting between the rows where the selected rows would be dropped, or something like when we move column around and have arrows pointing to where the new column would be placed. Any suggestions to how to get this implemented?

Parents
No Data
Reply
  • 469350
    Offline posted

    There's no easy way to do this.

    There's a sample for the UltraWinTree which draws drop indicators on the tree using a DrawFilter, so you could probably adapt that sample for use in the grid. But it will not be a trivial task, so I wouldn't recommend it unless you can commit a lot of time to it.

    The sample I am referring to is:

    ...\2012.1\Samples\WinTree\CS\UltraTree Drag and Drop CS

    or

    ...\2012.1\Samples\WinTree\VB\UltraTree Drag and Drop VB

Children
No Data