我刚刚开始学习 Kendoui,并且已经掌握了网格等。
但是我想为网格中的项目创建一个详细信息表单页面,以便可以更新它们。我在 Kendoui 网格中使用了弹出功能,这很好,但由于表单的大小,我真的需要在单独的页面上使用它。
问题是他们的网站上没有绑定远程数据源的简单表单的示例。
我想知道是否有人可以告诉我最好的使用方法,也许给我一个简单的例子。
谢谢
我刚刚开始学习 Kendoui,并且已经掌握了网格等。
但是我想为网格中的项目创建一个详细信息表单页面,以便可以更新它们。我在 Kendoui 网格中使用了弹出功能,这很好,但由于表单的大小,我真的需要在单独的页面上使用它。
问题是他们的网站上没有绑定远程数据源的简单表单的示例。
我想知道是否有人可以告诉我最好的使用方法,也许给我一个简单的例子。
谢谢
You are right!, there is no standard way of creating a custom popup editor but we should recognize that there is not because being custom, there is no easy (possible?) way of doing it since each of us will request a different thing.
BUT that doesn't mean that you cannot (pretty easily) do it.
These are, basically (as far as I can see), the steps to follow:
You might also be interested on taking a look into this answer that shows how to bind data to a window including reference to an example in JSFiddle.
This might seem harder than what it actually is but if you are familiar with the different KendoUI widgets, it is actually pretty easy.