Check documentation for the latest version 6.0 of dhtmlxSuite setListOptionImage DHTMLX Docs

setListOptionImage

sets an image for a listed option

void setListOptionImage(string|number parentId,string|number optionId,string img);

Parameters

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