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

setItemColor

sets the color of the node's text

void setItemColor(string|number id,string defaultColor,string selectedColor);

Parameters

idstring|numberid of the node
defaultColorstringnode's color
selectedColorstringselected node's color
Back to top