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 id,string img);

Parameters

idstring|numberthe id of an item
imgstringthe URL of an image

Example

myRibbon.setItemImage(id, img);

Change log

added in 4.1

Back to top