Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kolex on Nov 11, 2009 07:31
open dhtmlx forum
stop scrolling until drag&drop end

I can't drop source treegrid node into destination treegrid branch precisely because treegrid is scrolling.
Can I stop scrolling treegrid while drag&drop event executing ?
Answer posted by Alex (support) on Nov 11, 2009 08:36

Hello,

there is no built-in method to disable scrolling. It can be done by code modification.

To disable drag-n-drop try to comment all occurreces of the following line (and if() blocks before them):

this.objBox.scrollTop=