Check documentation for the latest version of dhtmlxSuite setItemImage DHTMLX Docs


sets item's icons (mostly useful for childless nodes)

void setItemImage(string|number id,string im1, [string im2] );
idstring|numberid of the node
im1stringicon for a node without children or icon for a closed node (if the "im2" parameter is specified)
im2stringicon for an open node (optional)
Back to top