Categories | Question details Back To List | ||
Drag and Drop Hai Is there any feature to drag the cells ( not row) and drop them into another cell or any feature so as to copy a cell data and paste it in another cell.. I hope u got my question. Answer posted by Support on Mar 17, 2009 09:48 There is no ready to use sample, but you can - enable drag and drop in grid - add next line ( 2.1+ ) , which will disable d-n-d check ( it doesn't allow d-n-d on the same row ) grid._drag_validate=false; - use onDrag event as grid.attachEvent("onDrag",function(sid,tid,bid,from,to,sing,tind){ grid.cells(tid,tind).setValue(grid.cells(sid,sind).getValue()); return false; }); |