Skip to main content


returns the dhtmlxSlider widget attached to a Slider control

getWidget(): Slider;


An object of the dhtmlxSlider widget.


var slider = form.getItem("slider").getWidget();  // -> dhtmlxSlider

It is possible to use methods of dhtmlxSlider via the getWidget() method of a Slider control.

For example, you can disable a Slider control. To do this, you need to get the widget attached to the Slider control and then use the disable() method of this widget.

var slider = form.getItem("slider").getWidget();  // -> dhtmlxSliderslider.disable(); // disables slider