xTree: setLabel function does not exist

The setLabel function, as documented in the ‘Manipulating nodes’ section in your (excellent!) documentation, does not exist.

How can I rename a label?

(Second bug I found in 5 minutes… have you tested the xTree component at all?)



Thanks,



Arjan

Do you mean by xTree a dhtmlxTreeGrid or dhtmlxTree ?
In case of dhtmlxtree correct functionality is
    tree.setItemText(…
in case of dhtmlxtreegrid
    tree.setItemText(…
or
    tree.cells(i,j).setLabel(…