0

I use Jqx tree to create a tree. But i was unable to rename added Node to the tree, could some one please help me to do this. http://www.jqwidgets.com/

I was try to do some thing like this, but it wont work var selectedItem = $('#jqxTree').jqxTree('selectedItem'); selectedItem.label='Node 3'
$('#jqxTree').jqxTree('render');
This will assign new name to node, but tree is not refresh

4

1 回答 1

0

您可以使用“updateItem”方法对其进行重命名。

在此处查看更新按钮的代码:jQWidgets Tree

于 2013-09-14T05:03:50.947 回答