如何防止itemeditor被破坏?

发布于 2024-08-12 06:00:46 字数 316 浏览 8 评论 0原文

我的自定义项目编辑器打开一个标题窗口(在内联编辑器中显示的内容太多),这显然抢走了焦点,所以我收到一个 itemeditend 事件,并且数据网格在错误的(对我来说)时间销毁编辑器。我认为必须让 itemeditor 保持活动状态,直到 titlewindow 工作完成,但是如何呢? DataGridEvent 原因是“其他”,livedocs 说 PreventDefault() 无能为力。 有什么想法吗?

My custom item editor opens a titlewindow (too much stuff to show in an inline editor) which obviously steal the focus, so I get a itemeditend event and the datagrid destroy the editor at the wrong (for me) time. I think to have to keep the itemeditor alive until the titlewindow job is done, but how? DataGridEvent reason is "other" and livedocs said preventDefault() can't help.
Any idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

怎言笑 2024-08-19 06:00:46

设置 popupwindow.owner=this (渲染器),它不会被销毁

set the popupwindow.owner=this (the renderer) and it will not be destroyed

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