Slider minimum step size

4 posts, 0 answers
  1. Nic
    Nic avatar
    5 posts
    Member since:
    Jun 2010

    Posted 26 Sep 2014 Link to this post

    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


  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 26 Sep 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Nic
    Nic avatar
    5 posts
    Member since:
    Jun 2010

    Posted 26 Sep 2014 in reply to Hristo Germanov Link to this post

    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.

  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 29 Sep 2014 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready