Categories | Question details Back To List | ||
drag and drop of cells in between grids sir, iv tried your suggestion using the onDrag event; however, it is not working. This is my code... is there anything wrong with this? (I tried editing your drag and drop sample) myGrird3.attachEvent("onDrag",function("gridbox2", "gridbox3", myGrid2, myGrid3, "1", "1") { alert("dragging"); return false; // block default reaction }); Furthermore, I have some other questions about this function. 1) Are the ID of source item and ID of target item the ids of the divs that contain the grids? 2) where will I get the ID of the column? Answer posted by Support on Dec 06, 2007 03:11 >>sir, iv tried your suggestion using the onDrag event; however, it is not working. Please check http://dhtmlx.com/docs/products/kb/index.shtml?cat=recent&q=1421 myGrird3.setDragHandler(function(sid, tid, myGrid2, myGrid3) { alert("dragging"); return false; // block default reaction }); >>1) Are the ID of source item and ID of target item the ids of the divs that contain the grids? You need not to specify this values, they are incoming params of your event handler http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=1408&ssr=yes&s=onDrag |