Check documentation for the latest version of dhtmlxSuite setItemColor DHTMLX Docs

setItemColor

sets the color of the node's text

void setItemColor(string|number id,string defaultColor,string selectedColor);
idstring|numberid of the node
defaultColorstringnode's color
selectedColorstringselected node's color
Back to top