drag and drop between dtree and dhtmlxgrid

Hi

i am doing drag and drop between dtree and dhtmlxgrid… but the problem is when i am trying that one… the vertical scroll bar of the dhtmlxgrid is automatically scrolling… so that i can not place the content from the dtree to dhtmlxgrid in a proper place… if any one knows the solution… please help me…

thanks,
raj

Unfortunately we cannot reproduce this issue locally. Can you please provide complete demo where we can reproduce it? You can find tutorial how to create complete demo here docs.dhtmlx.com/doku.php?id=othe … leted_demo

Hi,

At last i got the solution for this…

we should comment these lines in ext/dhtmlxgrid_drag.js file…

//scroll down
if ( (a1-a2)>(parseInt(this.objBox.offsetHeight)-50) )
this.objBox.scrollTop=parseInt(this.objBox.scrollTop)+20;
//scroll top
if ( (a1-a2+parseInt(this.objBox.scrollTop))<(parseInt(this.objBox.scrollTop)+30) )
this.objBox.scrollTop=parseInt(this.objBox.scrollTop)-20;

Now we can block the auto-scrolling of dhtmlxgrid vertical scroll bar…

Thanks,
Raj