本文介绍了Kendo UI树视图:如何在树视图中添加文本框和组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我们的Web应用程序中已经实现了一个剑道树视图。在我们的新要求中,我们必须在树视图中添加一些额外的控件。 >>场景1:一旦用户从树视图中选中一个复选框,就应该在所选复选框附近显示一个文本框(基于某些业务逻辑)。控件所需的数据将存在于JS对象中。 >>场景2:一旦用户从树视图中选中一个复选框,就应该在所选复选框附近显示一个组合框(基于某些业务逻辑)。控件所需的数据将存在于JS对象中。这些控件应该在树视图的任何级别创建(基于代码中已经存在的某些业务逻辑) 我在kendo-ui中寻找内置功能,我可以在其中添加文本框或组合树视图控件中的-box。 我的尝试: 我经历了剑道网站上的很多线程,但没有得到任何类似的实现。 解决方案 (':checkbox')。change(function(){ var id ='txtEditBox'+ We have a kendo tree-view already implemented in our web application. In our new requirement we have to add some additional controls inside tree view.>> Scenario 1: Once user select a check box from tree view one textbox should be shown near to selected checkbox (based on some business logic). The required data for control will be there in JS object.>> Scenario 2: Once user select a check box from tree view one combo box should be shown near to selected checkbox (based on some business logic). The required data for control will be there in JS object. These controls should be created at any level of tree view (based on certain business logic which is already there in code)I am looking for an inbuilt functionality in kendo-ui where I can add textbox or combo-box inside the tree-view control. What I have tried:I go through a lot of threads available on kendo site but not get any similar implementation. 解决方案 这篇关于Kendo UI树视图:如何在树视图中添加文本框和组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-25 14:36