Check documentation for the latest version 6.0 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);

Parameters

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