简体   繁体   English

添加动态列kendo ui树形列表

[英]adding dynamic column kendo ui treelist

Is it possible to add a dynamic column in kendo UI treelist, I have seen this post which is quite old, it says its not supported in kendo UI library. 是否可以在kendo UI树形列表中添加动态列,我已经看过这篇帖子,它很旧,它说它在kendo UI库中不受支持。

Other alternate is destroy and recreate the kendo UI TreeList, but I am applying many css and data changes on TreeList so recreating will be a lot of effort bcs I will have to track these changes and re apply them. 其他替代方法是销毁并重新创建kendo UI TreeList,但是我在TreeList上应用了许多CSS和数据更改,因此重新创建将是很多工作,因为我必须跟踪这些更改并重新应用它们。

I would like to know if there is any other solution then re creating the kendo UI TreeList. 我想知道是否还有其他解决方案,然后重新创建kendo UI TreeList。

Set the necessary columns at initialization phase and hide the not required ones. 在初始化阶段设置必要的列,并隐藏不需要的列。 Then show them when necessary, see this Dojo: http://dojo.telerik.com/@mrtaunus/EFUva 然后在必要时显示它们,请参阅此Dojo: http : //dojo.telerik.com/@mrtaunus/EFUva

If this does not resolve your issue, please clarify your intent and scenario. 如果这不能解决您的问题,请说明您的意图和情况。

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

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