globalActiveDHTMLGridObject

Hi,



we have mygrid.enableColumnMove(“true”);

and have mygrid.enableColumnMove(“true”);



we have included the file



although this feature is working we keep getting the error:



globalActiveDHTMLGridObject is not defined

_onColumnMove(mousemove clientX=0, clientY=0)



on the following code:



grid._colInMove=el._cellIndex+1;};return true;};dhtmlXGridObject.prototype._onColumnMove = function(e){e=e||event;var grid=globalActiveDHTMLGridObject;if ((grid)&&(grid._colInMove)){if (typeof(grid._colInMove)!=“object”){var z=document.createElement(“DIV”);z._aIndex=(grid._colInMove-1);z._bIndex=null;z.innerHTML=grid.getHeaderCol(z._aIndex);z.className=“dhx_dragColDiv”;z.style.position=“absolute”;document.body.appendChild(z);grid._colInMove=z;};var cor=grid.getPosition(document.body);cor[0]+=(document.body.scrollLeft||0);cor[1]+=(document.body.scrollTop||0);grid._colInMove.style.left=e.clientX+cor[0]+8+“px”;grid._colInMove.style.top=e.clientY+cor[1]+8+“px”;var el = e.target||e.srcElement;while ((el)&&(typeof(el._cellIndexS)==“undefined”))



is this a bug?



thanks





Problem confirmed and fixed, please contact us directly at support@dhtmlx.com and provide your ref number - we will send fixed js file.

ok thanks