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|number itemId,number value,boolean CallEvent);
itemIdstring|numberid of a slider or an input item
valuenumbervalue (number for a slider, any for an input)
CallEventbooleantrue|false, call "onValueChanged" event for a slider

Example

myToolbar.setValue(itemId, value, CallEvent);

Back to top