setItemText

sets a new item's text

void setItemText(string|number id,string text);

Parameters

idstring|numberthe item's id
textstringthe new item's text

Example

myTreeView.setItemText("2", "New Text");

See also
Back to top