jQuery UI Widgets › Forums › Editors › ScrollBar, Slider, BulletChart, RangeSelector › Slider Value after "ball" drag.
Tagged: drag, jqxslider, slider, step, thumb, Tooltip, value
This topic contains 1 reply, has 2 voices, and was last updated by Dimitar 8 years, 11 months ago.
On the Slider, if I set the step to 5. Why does the tool tip say 47.32345234 after I drag the ball? Shouldn’t it say 45 or 50? Is there a way to make it give a round number?
Hello Brent Hoskisson,
As you can see from the description of the step property from the jqxSlider API Documentation, it does not apply when dragging the thumb (“ball”):
Sets or gets the slider’s step when the user is using the keyboard arrows, slider increment and decrement buttons or the mouse wheel for changing the slider’s value.
You must be logged in to reply to this topic.