Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by esteb on Dec 19, 2009 02:33
open dhtmlx forum
Drag And Drop

Sorry to bother you but inspite of all i tried, i'm unable to copy only one cell (from a grid) to another one (witch is empty,in another grid).
This is what i tried:
            ...
            mygrid1.enableDragAndDrop(true);
            mygrid1._drag_validate=false;
            mygrid1.attachEvent("onDrag",function(sId,tId,sObj,tObj,sInd,tInd)
             {
mygrid1.cells(tid,tind).setValue(mygrid2.cells(sid,sind).getValue());
return false;
             })


            mygrid1.init();
        mygrid1.loadXML("connectordnpg1.php");
            var dp1 = new dataProcessor("connectordnpg1.php");
            dp1.init(mygrid1);
            ...

Thanks for your help.
Answer posted by dhxSupport on Dec 21, 2009 05:37
Regarding this issue please contact directly support@dhtmlx.com