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
2320
Drag and Drop with column moving
posted

I have a grid that has column moving functionality.  I recently added Drag and Drop behavior to the grid (from a grid, to a UltraTeeView).  Works like a charm but now I notice when I try to move the column, it starts the drag and drop operation.  How can I detect that I'm dragging the column header, and not trying to drag a row.

Any help would be greatly appreciated.

Parents
No Data
Reply
  • 2320
    posted

    Nevermind, I figured out how to handle this.  Grab the row under the cursor (was already doing this) and look at the Index (-1) or IsFilterRow (true) properties.

Children
No Data