0
How to fires event after Drag & Drop on TreePanel如何在节点放下之后放置放置事件?
On an ExtJS drag and drop tree using the drop or beforedrop listeners dont seem to fire
How do I make an ExtJS drag and drop tree be copy only -- not remove items from the display?
我试图把移动节点的新父:
drop: function (node, data, overModel, dropPosition) {
var theNode = data.records[0];
console.log(theNode.data.parentId);
console.log(theNode.parentNode.id);
},
但:
注1:node
参数不是真正的TreeNode,只是一个HTML标签。
注2:theNode.parentNode
没有更新,我正在采取旧的父节点(拖动之前)。它将在drop
函数后更新。
如何获取新节点父节点?
那种后遗症? –
我认为推迟是唯一的解决方案,从来没有看到后的功能,我完全开始讨厌sencha的拖放 –