Kendo 网格内联编辑

发布于 2024-12-28 04:13:13 字数 343 浏览 8 评论 0原文

我正在尝试构建一个 Restful 服务,该服务允许我使用 Kendo UI 网格进行内联编辑。

我对 Kendo UI 和 Restful 服务都不熟悉,所以我不知道从哪里开始。

我正在使用 http://demos.kendoui.c​​om/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 技术交流群。

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

发布评论

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

评论(2

明月夜 2025-01-04 04:13:13

这是内联编辑的控制器的样子 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.

千年*琉璃梦 2025-01-04 04:13:13

查看参数映射配置值,您可以使用它来映射以处理 RESTful 类型 URL。

http://demos.kendoui.c​​om/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.

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