Check documentation for the latest version of dhtmlxSuite setValue DHTMLX Docs

setValue

sets the current value of a slider control

void setValue(number|array value,boolean callEvent);
valuenumber|arraya new value or array with value pairs for the range mode
callEventbooleantrue to call the "onChange" event, false by default

Example

mySlider.setValue(1);

Change log

array as a 1st param is added in v4.3

Back to top