Check documentation for the latest version of dhtmlxSuite setListOptionImage DHTMLX Docs

setListOptionImage

sets an image for a listed option

void setListOptionImage(string|number parentId,string|number optionId,string img);
parentIdstring|numberthe id of a select button
optionIdstring|numberthe id of a listed option
imgstringthe image for a listed option

Example

myToolbar.setListOptionImage(parentId, optionId, img);

Back to top