This is a migrated thread and some comments may be shown as answers.

Slider minimum step size

3 Answers 187 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Nic
Top achievements
Rank 1
Nic asked on 26 Sep 2014, 08:14 AM
Hi

I'm trying to create a slider with min value = 0%, max value = 0.1% and increment 0.01%, i.e. min=0,max=0.001, step = 0.0001, however, it seems that the smallest step the slider works with is 0.001, is this some weird limitation of the slider or am I doing something wrong?

I have recreated it here:
http://dojo.telerik.com/etuvI


3 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 26 Sep 2014, 10:27 AM
Hi Andre,

Kendo UI Slider depend on min value to be smaller then max value. You can use a template that will show the correct value. Example:
1 --> 0.1
2 --> 0.2
....

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Nic
Top achievements
Rank 1
answered on 26 Sep 2014, 11:57 AM
Hi Hristo

In my example the min value is smaller than the max value (0 < 0.001). My problem is
that the slider ignores a step of smaller than 0.001 (3 decimals).
Please look at the dojo example, there should be 10 steps of size 0.0001 between 0 and 0.001.

I don't think a template can fix this but if you could give me an example it will be greatly appreciated.

0
Hristo Germanov
Telerik team
answered on 29 Sep 2014, 02:44 PM
Hi Andre,

Please accept my apologies for my previous post. We will try to fix this issue in the next official release of Kendo UI.

I have updated your telerik points.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Slider
Asked by
Nic
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Nic
Top achievements
Rank 1
Share this question
or