Check documentation for the latest version of dhtmlxSuite setItemImage DHTMLX Docs

setItemImage

sets an image for an item in the enabled state

void setItemImage(string|number itemId,string url);

Parameters

itemIdstring|numberthe id of an item
urlstringthe URL of an image

Example

myToolbar.setItemImage(itemId, url);

Back to top