且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Kendo UI自定义网格弹出编辑器窗口仅打开一次

更新时间:2022-11-20 10:52:50

实际上,我上一个答案中的方法解决了我的问题,但又导致了另一个问题.网格变为可编辑状态,但处于默认模式(内联").

Actually the approach in my previous answer solved my issue but is causing another issue. The grid becomes editable but in the default mode (which is "inline").

这样做

editable: "popup",
edit: openCustomWindow

已解决了另一个问题,但现在显示2个弹出窗口.

has fixed this other issue but is now displaying 2 popups.

我终于成功地隐藏了默认弹出窗口,只显示了我的自定义弹出窗口,但是最后出现了最初问题中描述的原始问题...

I finally succeeded to hide the default popup and only show my custom popup but it ended with the orginal issue described in initial question...

考虑到所有这些信息,我得出的结论是,使用自定义弹出窗口绝对不是一种选择.我将开始使用teamplates.

Considering all those informations I arrived to the conclusion that working with a custom popup window is definitely not an option. I'll start working with teamplates instead.

另一种解决方案是使用模板通过自定义的添加"按钮覆盖工具栏,并使用自定义命令进行编辑.但是在这一点上,我认为这太棘手"了.

Another solution would have been to use a template to override the toolbar with a custom "Add" button and use a custom command for edition. But at this point I consider that too "tricky".