简体   繁体   English

Kendo UI TreeList-添加行

[英]Kendo UI TreeList - adding row

I have some troubles when adding row in a treelist Kendo, espessially Add Child Row. 在树形剑道中添加行时,特别是在添加子行时,我遇到了一些麻烦。 I click Add Child Row, then put data into fields, and after clicking OK, row disappeared. 我单击添加子行,然后将数据放入字段,然后单击确定,行消失了。 So i can't add CHILD row. 所以我不能添加CHILD行。

I took sample from official site. 我从官方网站上取样。 http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-messages.commands.create . http://docs.telerik.com/kendo-ui/api/javascript/ui/treelist#configuration-messages.commands.create Use Chrome. 使用Chrome。 Does it is telerik kendo developing error? 是telekrikkendo开发错误吗? How to use adding? 如何使用添加?

You need to have the TreeList DataSource transport configured for CRUD operations . 您需要为CRUD操作配置 TreeList 数据源传输 If you use the TreeList editing demo as a starting point, the scenario will work: 如果您使用TreeList编辑演示作为起点,那么该方案将起作用:

http://dojo.telerik.com/EKoCi http://dojo.telerik.com/EKoCi

Probably the documentation should mention the above explicitly to prevent confusion. 也许文档应该明确提及以上内容以防止混淆。

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

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