使用 cntl x 和 v 的 extjs 树

发布于 2024-08-23 20:07:03 字数 105 浏览 0 评论 0原文

我有一个客户要求能够在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

画骨成沙 2024-08-30 20:07:03

您可以尝试使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文