简体   繁体   English

Kendo Grid或TreeList中具有CRUD的三到四层继承

[英]Three to Four Level Heirarchy with CRUD in Kendo Grid or TreeList

Does anyone here tried making 3-4 level of hierarchy with CRUD using Grid or TreeListView in Kendo? 这里有人在Kendo中使用Grid或TreeListView尝试使用CRUD使3-4层次结构化吗? I found one but it was written in ASP.NET. 我找到了一个,但是它是用ASP.NET编写的。 Does anyone here know how to convert it to jquery? 这里有人知道如何将其转换为jquery吗? thanks! 谢谢! https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/insert-update-delete-hierarchy/defaultcs.aspx?show-source=true https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/insert-update-delete-hierarchy/defaultcs.aspx?show-source=true

A hierarchical Kendo-UI grid is created by using the grid configuration option detailInit to instantiate a sub-grid displaying a properly filtered subset of data corresponding to the sub-grid level. 通过使用网格配置选项detailInit创建实例化的子网格,该子网格显示与子网格级别相对应的经过适当过滤的数据子集。

Converting the ASP.NET example to plain kendo-ui difficult because the asp tags do some server side work that is difficult to tease out into a client only example. 将ASP.NET示例转换为普通的kendo-ui困难,因为asp标记完成了一些服务器端的工作,这些工作很难被理解为仅客户端的示例。

The Kendo-UI for jQuery demo Grid / Hierarchy shows a 2-level grid. Kendo-UI for jQuery演示网格/层次结构显示了一个2级网格。

I created a simplified example in this Dojo demonstrating detailInit in a 3-level scenario using local data. 我在此Dojo中创建了一个简化的示例,使用本地数据在3级场景中演示了detailInit Of course real world CRUD datasources will need appropriate server URLs for reading, inserting, updating and deleting records of each level, and that depends on the server side data model. 当然,现实世界的CRUD数据源将需要适当的服务器URL来读取,插入,更新和删除每个级别的记录,这取决于服务器端数据模型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM