JavaScript/jQuery RangeSelector - behavior
Specifies the RangeSelector's behavior properties.
allowSlidersSwap
Indicates whether or not you can swap sliders.
When this property is set to true, you can move a slider to the required scale value by crossing over the other slider. When this property is set to false, you can only move a slider to the other slider's position.
animationEnabled
Indicates whether or not animation is enabled.
To make a selected range and chart series move smoothly when required, enable animation by setting the animationEnabled property to true.
callValueChanged
Use the valueChangeMode property instead.
Specifies when to call the onValueChanged function.
manualRangeSelectionEnabled
Indicates whether or not an end user can specify the range using a mouse, without the use of sliders.
When this property is set to true, you can select the desired range using a mouse selection, and the sliders will be positioned at the start and end points of your selection.
moveSelectedRangeByClick
Indicates whether or not an end user can shift the selected range to the required location on a scale by clicking.
When this property is set to true, you can click anywhere on an unselected area and the currently selected range will shift to the position that was clicked.
snapToTicks
Indicates whether to snap a slider to ticks.
When this property is set to true, the slider docks to the nearest tick. The slider marker always displays the value of the nearest tick.
When this property is set to false, the slider will stay in the position in which it was dropped. The slider marker always displays the current scale value.
valueChangeMode
Specifies when to change the component's value.
If you want to change the component's value while a user moves the component's handle, set this property to onHandleMove
. The moment when the onValueChanged function is called depends on this property.
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.