如何在Kendo UI弹出编辑器中显示更多数据源字段,但不在网格中显示

如何在Kendo UI弹出编辑器中显示更多数据源字段,但不在网格中显示

问题描述:

Looks like this has been "sorta" asked - but not quite. So here goes...

Have a Kendo UI grid. Working great. Want to edit in a "popup" the record that is selected. That works great as well. However, there are many more fields in the record than what I am showing in the grid.

So can someone explain how to create a full edit form in the popup, and not have to display all the fields in the grid?

Using PHP for this.

Thanks in advance...

看起来这是“sorta”问的 - 但不完全。 所以这里... ... p>

拥有一个Kendo UI网格。 工作得很好。 想要在“弹出”中编辑所选的记录。 这也很有效。 但是,记录中的字段比我在网格中显示的字段多得多。 p>

因此有人可以解释如何在弹出窗口中创建完整的编辑表单,而不必显示 网格中的所有字段? p>

使用PHP进行此操作。 p>

提前致谢... p> div>

You need to use the editable.template option of the grid. You have to implement it in JavaScript though.