This question is locked. New answers and comments are not allowed.
Hi, what is the best way to select an item when I start dragging it?
ie: I have a treeview with drag+drop enabled, and I select item 1. However I mousedown + drag item 2, item 1 is still selected!
I tried using onNodeDragStart to do my UI changes + event calls, however that function doesn't fire until you actually start the dragging movement.
I suppose I'm wondering what the best way to implement onMouseDown for it is, should I just wire up an event on the page load to check for mouseDown on the treeview elements?
ie: I have a treeview with drag+drop enabled, and I select item 1. However I mousedown + drag item 2, item 1 is still selected!
I tried using onNodeDragStart to do my UI changes + event calls, however that function doesn't fire until you actually start the dragging movement.
I suppose I'm wondering what the best way to implement onMouseDown for it is, should I just wire up an event on the page load to check for mouseDown on the treeview elements?