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

setWidth

sets a width for a text/input/buttonSelect item

void setWidth(string|number itemId,number width);

Parameters

itemIdstring|numberthe id of a text/input/buttonSelect item
widthnumbera new width (px)

Example

myToolbar.setWidth(itemId, width);

Back to top