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

DateTimePicker scroll to the nearest time

5 Answers 384 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Chris asked on 29 Jan 2018, 03:38 AM

HI

I have a question about DateTimePicker.

When the inputed time is 11:15, then dropdown the time list, 
Why the DateTimePicker do not scroll to the nearest time automatically ?

Maybe there have the same problem of TimePicker too.

See attachment.

Best regards

Chris

 

 

 

5 Answers, 1 is accepted

Sort by
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 29 Jan 2018, 07:20 AM

BUG : 

2018/01/31 14:00 (Original date/time) next -> 
2018/01/31 14:00 (User dropdown and select 14:00) next -> 
2018/01/31 14:35 (User input the miniute - 35) next -> 
2018/01/31 14:00 (User dropdown the select the day - 31 but minutes lost unexpectedly)

The time value sholud not be changed if the time value exists during the date value changing.

 

 

0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 29 Jan 2018, 07:28 AM
BUG (Situation #2): 

2018/01/31 14:00 (Original date/time) next -> 
2018/01/31 14:00 (User dropdown and select 14:00) next -> 
2018/01/31 14:5 (User input the miniute - 5) next -> 
2018/01/30 14:00 (User dropdown the select the day - 30 but minutes lost unexpectedly)

0
Stefan
Telerik team
answered on 30 Jan 2018, 11:44 AM
Hello, Chris,

Thank you for the suggestions.

I tested the reported scenarios.

1) The DropDown does not open the nearest time - This is currently the built-in behavior of the widget. As the suggestion sounds like a good feature request I can suggest submitting it in our feedback portal and based on its popularity we may implement it in a future release:

http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback?category_id=170289

2) The minutes were retained on my end. Please check the video and advice if I missed an important detail:

https://www.screencast.com/t/7NDouzTQt

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Sohail
Top achievements
Rank 1
answered on 13 Jan 2020, 03:00 PM

Hi Stefan

Was this feature added? If not, then any suggestions for implementing it would be great. Thanks in advance!

0
Alex Hajigeorgieva
Telerik team
answered on 15 Jan 2020, 11:02 AM

Hello, Sohail,

We have a logged feature request for the TimePicker and I have added a vote on your behalf here. Feel free to comment and share you point of view:

https://feedback.telerik.com/aspnet-core-ui/1414038-timepicker-focus-specific-time-on-open

While the feature request is gaining popularity, you may use the open event, get the value of the picker and scroll to the nearest value as demonstrated in this forum post:

https://www.telerik.com/forums/timepicker-move-focus-to-similar-time

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
Tags
Date/Time Pickers
Asked by
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Answers by
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Stefan
Telerik team
Sohail
Top achievements
Rank 1
Alex Hajigeorgieva
Telerik team
Share this question
or