A widget that allows a user to select a numeric value within a given range.

Type: Object

The dxSlider widget allows a user to specify a numeric value within a specified range. The widget has min and max options specifying the available range. The current value is specified using the value option. Declare an observable variable and pass it to the value option to update its value each time the selected value changes.

var currentValue = ko.observable(50);

To create a dxSlider widget, add a div element with dxSlider Knockout binding within the body of the required view.

<div data-bind="dxSlider:{min:0, max:100, value: currentValue}"></div>

Refer to the Add a widget documentation section to learn how to create widgets in detail.

Show Example:


An object defining configuration options for the dxSlider widget.


This section describes methods that can be used to manipulate a widget.


This section describes events fired by this component.