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
695
scrollbar handled by drag and drop
posted

Hi I have a xamDataGrid which i got drag and drop enabled so the user can reorder the rows. But the problem is that if i resize the data grid so that horizontal or vertical scrollbar appears, and if i have a record row selected in the grid, when i drag the scroll bar the mouse move will also trigger the reordering.

How can i disable the drag and drop behavior if I just want to drag the scroll bar?

Or is there a way to determine that the mouse click is on the scroll bar? thanks.