ExtJs 拖放树,获取放置位置
我有拖放树
,这是 viewConfig 属性
viewConfig: {
plugins: {
ptype: 'treeviewdragdrop',
appendOnly: true
},
listeners: {
beforedrop: function (node,data,overModel,dropPosition,dropFunction,options){console.log(overModel)}
}
},
我有两个树网格,我想要获取 dropTarget 位置。例如。在节点 3 之前,在节点 5 之后...就像那样
有人可以帮助我吗?
谢谢
I have drag drop tree
and this is the viewConfig property
viewConfig: {
plugins: {
ptype: 'treeviewdragdrop',
appendOnly: true
},
listeners: {
beforedrop: function (node,data,overModel,dropPosition,dropFunction,options){console.log(overModel)}
}
},
I have two tree grid, what i want to get dropTarget position. Eg. Before node 3, after node 5...just like that
Anyone can help me?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想这可能已经很老了。 “overModel”是您感兴趣的。
I think this is probably very old already. "overModel" is what you are interested in.