使用 cntl x 和 v 的 extjs 树
我有一个客户要求能够在 extjs 树中剪切和粘贴。我知道我可以使用appendchild和removechild复制操作,但是如何将我创建的函数与ctrl x和v关联起来?
谢谢
I have a client that is requesting to be able to cut and paste inside a extjs tree. I know i can replicate the actions using appendchild and removechild, but how can i associate the functions i make with ctrl x and v?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试使用 Ext.KeyMap。您还可以使用一些外部脚本,例如这个。但是最后一种可能和ExtJS有一些冲突,我没有用ExtJS尝试过。
You can try to use Ext.KeyMap. Also you can use some external scripts, for example this one. But there may be some conflicts of the last one with ExtJS, I never tried it with ExtJS.