Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Richard White on Dec 16, 2007 08:50
open dhtmlx forum
drag and drop bug

Hi,

there seems to be so many bugs in the drag and drop for the treegrid.

why is it that when the user drags and item - and we have some processing in the ondrag event - if we return false sometimes the item they are dragging stays highlihted in red and then as you run the mouse over the items it highlights them in red - its as if it is still in drag mode even though i have returned false

thanks
Answer posted by Support on Dec 17, 2007 05:59
The only reason of some situation - some js error occurs in custom code of onDrag event handler , and event was not correctly finished.
Any correct finalization of onDrag event ( with false or true as result ) must finish drag-n-drop operation.

If problem still occurs for you - please send any kind of sample where problem can be reconstructed ( you can send it directly to support@dhtmlx.com )