Check documentation for the latest version of dhtmlxSuite setValue DHTMLX Docs

setValue

sets a value for a slider or an input item

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

Parameters

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

Example

myRibbon.setValue(itemId, value, callEvent);

Change log

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

Back to top