Check documentation for the latest version 6.0 of dhtmlxSuite setItemText DHTMLX Docs

setItemText

sets a new node's text (HTML is allowed)

void setItemText(string|number id,string newLabel, [string newTooltip] );

Parameters

idstring|numberthe id of the node
newLabelstringthe node's text
newTooltipstringa tooltip for the node, optional
Back to top