Check documentation for the latest version of dhtmlxSuite setIconSize DHTMLX Docs

setIconSize

sets the size of icons

void setIconSize(string newWidth,string newHeight, [string|number id] );
newWidthstringnew icon's width in pixels
newHeightstringnew icon's height in pixels
idstring|numberitem's id, if skipped, set default value for all new icons, optional

Available only in PRO Edition

Example

myTree.setIconSize("16px", "16px");

Back to top