Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Arjan on Mar 18, 2008 08:53
open dhtmlx forum
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
Answer posted by Support on Mar 18, 2008 10:12
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(...