Check documentation for the latest version of dhtmlxSuite setValue DHTMLX Docs


sets a value for a slider or an input item

void setValue(string id,number value,boolean callEvent);


idstringid of a slider or an input item
valuenumbervalue (int for slider, any for input item)
callEventbooleancall “onValueChanged” event for a slider


myRibbon.setValue(itemId, value, callEvent);

Change log

callEvent added in 4.1 for combo (prevention of calling onSelectOption)

Back to top