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

setIconSize

sets the size of icons

void setIconSize(string newWidth,string newHeight, [string|number id] );

Parameters

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