Kendo 网格内联编辑
我正在尝试构建一个 Restful 服务,该服务允许我使用 Kendo UI 网格进行内联编辑。
我对 Kendo UI 和 Restful 服务都不熟悉,所以我不知道从哪里开始。
我正在使用 http://demos.kendoui.com/web/grid/editing.html< /a> 作为参考,但它没有显示我可以使用 Restful 服务进行内联编辑。
有谁知道我如何才能完成这项工作或者我可以去哪里查看示例?
, 谢谢
I am attempting to build a Restful service that will allow me to do inline editing with the Kendo UI Grid.
I am unfamiliar with both Kendo UI and Restful services, so I don't know where to begin.
I am using http://demos.kendoui.com/web/grid/editing.html as a reference, but it doesn't show I can I do inline editing with a Restful service.
Does anybody know how I could make this work or where I could go to view examples?
, Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是内联编辑的控制器的样子 https://github.com/telerik/kendo-examples-asp-net-mvc/blob/master/grid-crud/Controllers/HomeController.cs
如果你的电脑上有 Northwind sqlexpress 你可以运行这个例子。
here is what the controller looks like for inline editing https://github.com/telerik/kendo-examples-asp-net-mvc/blob/master/grid-crud/Controllers/HomeController.cs
if you have northwind on your sqlexpress you can run this example.
查看参数映射配置值,您可以使用它来映射以处理 RESTful 类型 URL。
http://demos.kendoui.com/web/datasource/index.html
转到配置/传输/参数映射
您将需要使用参数映射函数来使用正确的 ID 来调整您的创建更新和销毁 URL。
Have a look at the parameter map configuration value which you can use to map for working with RESTful type URL's.
http://demos.kendoui.com/web/datasource/index.html
Go to Configuration / Transport / parameterMap
You will want to use the parameterMap function to adust your create update and destroy URL's with the proper ID.