Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Vincent Holt on Jan 11, 2008 03:18
open dhtmlx forum
Background flashing yellow on Drag

Hi there
When I drag an item around, as I drag onto an item the background displays white, when off, it goes yellow.
I'm sure there is a reason for it, but the overall effect as you drag an item around is for the screen (div area) to constantly keep flashing between yellow and white, which doesn't look terribly good.

Can this effect be switched off at all?

Many thanks (and thanks for prompt assistance on previous posts)

Answer posted by Support on Jan 11, 2008 06:20
Background switched to yellow when you drag item not over another item, but other free space of component ( drop on root level )
You can

a) Remove color changes
    dhtmlxtree.css , selectionBox css class - just erase this class definition

or

b) Disable drop-on-free space
    tree.enableDragAndDrop(true,false);