Categories | Question details Back To List | ||
Tree drag and dont allow drag Hi Team, I am dragging items from grid to tree and using dhtmlx_extdrag.js I am allowing drag only from grid.I don't want to allow drag from tree. When I drag from tree I am getting following error, this._checkMSelectionLogic is not a function [Break on this error] function dhx_ext_check(sid,tid,sgrid,tgrid){if (sgrid.mytype=="tree")var nm="id"... My code is, tree.enableDragAndDrop(true); tree.attachEvent("onDragIn",onTreeDragIn); tree.attachEvent("onDrag",onTreeDrag); tree.attachEvent("onBeforeDrag",function(){return false;}); function onTreeDragIn(sid,tree_node_id){ if(condition) return dhx_allow_drag(); return dhx_deny_drop(); } function onTreeDrag(row_id,target_id){ ..... logic .... } Please suggest any solution to remove this error and not allow drag on Tree. Thanks, Agile Answer posted by Support on Nov 25, 2008 06:04 >>When I drag from tree I am getting following error, Which version of dhtmlxtree|dthmlxgrid are you using? The problem may occur if you are mixing files from pro and standard editions. |