Is there any possibility of doing drag-n-drop from DataView to Grid?
Yes, there is.
[code]dhtmlx.compat(“dnd”);
…
grid.attachEvent(“onDrag”,function(sid,tid,sobj,tobj){
if (sobj.object && sobj.object == data){
var d = dataview.get(sid);
var index = mygrid.getRowIndex(tid);
grid.addRow(grid.uid(), [....], index);
dataview.remove(sid);
return false;
}
return true;
});[/code]
First line causes an error.
dhtmlx.compat("dnd");
Message: ‘window.dhtmlDragAndDrop.dragNode.firstChild.rows’ is null or not an object
Line: 7
Char: 364
Code: 0
URI: 10.255.11.142/script/codebase/ex … extdrag.js
the issue relates PRO edition. Please create a ticket in the Members’ Support.