Check documentation for the latest version of dhtmlxSuite setItemIcon DHTMLX Docs

setItemIcon

sets a Font Awesome icon for an item

void setItemIcon(string|number rowId,string icon);
rowIdstring|numberthe row id
iconstringthe name of an icon from the Font Awesome collection

Example

myTreeGrid.setItemIcon("row1", "folder-o");

Related samples

See also
Back to top