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

Slider with date ranges

3 Answers 222 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Colin
Top achievements
Rank 1
Colin asked on 30 Aug 2012, 03:20 PM
Has anyone tried to use the Kendo Slider to choose between date ranges?  

Currently I am using month long millisecond steps and the tool tip template to display the date ranges.  However, I am having trouble updating the tick values using the format option.  

Does anyone know how to format a number to date string using only a kendo format string? 

Or does anyone know how to using templates or JS in the slider format string?

3 Answers, 1 is accepted

Sort by
0
Aleksandar
Top achievements
Rank 1
answered on 12 Nov 2012, 01:54 PM
I'm having the same problem. I have a slider that should be with date ranges, that on change will trigger a grid underneath it to show the particular data for that particular date. Since nobody answered your question I'm assuming you somehow manage to solve your issue. 
I'd be very grateful if you offer any kind of solution.
Best regards.
0
Victor
Top achievements
Rank 1
answered on 25 Nov 2013, 09:19 PM
Hi all!

Did you get this working? We are having the same issue. A date range window (as seen in the dataviz stock chart widget) would also be really nice for us, but date range slider would do as well.

Any updates on this?

/Victor
0
Iliana Nikolova
Telerik team
answered on 28 Nov 2013, 04:56 PM
Hi guys,

Kendo UI Slider is designed to work with numeric values, however it is possible to use it for date ranges in case you bind the widget to milliseconds instead of Date objects. For your convenience I prepared a simple jsBin example which demonstrates a possible implementation.

Regards,
Iliana Nikolova
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
Colin
Top achievements
Rank 1
Answers by
Aleksandar
Top achievements
Rank 1
Victor
Top achievements
Rank 1
Iliana Nikolova
Telerik team
Share this question
or