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

how to enable “autoscroll” in kendo timepicker at selected value?

1 Answer 106 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 14 Nov 2016, 08:49 AM

Hi,

I have kendo timepicker control which is containing time in 5 min interval i.e. "9:00 AM, 9:05 AM, 9:10 AM". If I select any time from dropdown and close the dropdown and once I reopen the dropdown it took me the selected time which is fine but when I set the value in TimePicker dropdown i.e "10:35 PM" and when I open the dropdown it should scroll down to the "10:35 PM" which is not happening right now.  So in nutshell it should auto scroll to set value i.e "10:35 PM" Once i open the timepicker control.

Could you please help me to acheive the functionality?

I have kendo timepicker control which is containing time in 5 min interval i.e. "9:00 AM, 9:05 AM, 9:10 AM". If I select any time from dropdown and close the dropdown and once I reopen the dropdown it took me the selected time. But when I set the value in TimePicker dropdown i.e "10:35 PM" and when I open the dropdown it should scroll down to the "10:35 PM" which is not happening right now
I have kendo timepicker control which is containing time in 5 min interval i.e. "9:00 AM, 9:05 AM, 9:10 AM". If I select any time from dropdown and close the dropdown and once I reopen the dropdown it took me the selected time. But when I set the value in TimePicker dropdown i.e "10:35 PM" and when I open the dropdown it should scroll down to the "10:35 PM" which is not happening right now
I have kendo timepicker control which is containing time in 5 min interval i.e. "9:00 AM, 9:05 AM, 9:10 AM". If I select any time from dropdown and close the dropdown and once I reopen the dropdown it took me the selected time. But when I set the value in TimePicker dropdown i.e "10:35 PM" and when I open the dropdown it should scroll down to the "10:35 PM" which is not happening right now
I have kendo timepicker control which is containing time in 5 min interval i.e. "9:00 AM, 9:05 AM, 9:10 AM". If I select any time from dropdown and close the dropdown and once I reopen the dropdown it took me the selected time. But when I set the value in TimePicker dropdown i.e "10:35 PM" and when I open the dropdown it should scroll down to the "10:35 PM" which is not happening right now

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Nov 2016, 12:23 PM
Hello Vijay,

The described behaviour was not observable in my testing scenario.

I made a TimePicker and use a button to set the value to "10:35 PM" using the value method of the TimePicker, and after opening the DropDown is correctly scrolled to "10:35 PM":

http://docs.telerik.com/kendo-ui/api/javascript/ui/timepicker#methods-value

Please check the Dojo example demonstrating this implementation:

http://dojo.telerik.com/EPAcu

If additional assistance is needed, please send a runnable example reproducing the issue so I can investigate further.

Regards,
Stefan
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
 
Tags
Date/Time Pickers
Asked by
Vijay
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or