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

Calendar fast navigation

2 Answers 41 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Franka
Top achievements
Rank 1
Franka asked on 18 Feb 2020, 02:42 PM

Hello Telerik team,

is there any way to make the fast navigation bar visible in the Calendar of the DateTimePicker? (I would even be happy with an ugly way)

This really keeps me from using the DateTimePicker.

It makes no sense to me that this isn't configurable...

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 20 Feb 2020, 09:47 AM

Hello Helena,

The fast navigation pane is not available in the configuration of the DateTimePicker as a design choice. The idea is that the component is usually used to pick dates in the near future, as it's not that common you want to persist a value with a specific time - i.e. hours, minutes, etc. - for a date a few years in the future. So the layout of the component is kept compact and the option is not exposed, as the theme styles do not support it. If you configure the popup Calendar to display the navigation pane, the layout will be broken.

Still, the desired functionality can be achieved by overriding some styles and using some component internals. Refer to this example. Both things are not advisable though. The calendar prop, although public, is marked as @hidden, so it's not a part of the public API. Which means that if internal changes are required at some point, the prop value could be changed or even removed if deemed necessary. And this would not be considered a breaking change. Also, theme changes on our side could affect your style customizations. So use this code at your own discretion. It would probably be better to reconsider whether not to use a regular DatePicker or a DateTimePicker without the navigation pane.

Also, I'd encourage you to submit a feature request on our Feedback portal if this is an important feature for you. If there proves to be public demand for it, we could of course reconsider and change the design to include this option.

If I could be of further assistance, make sure to write back.

Regards,
Dimitar
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Franka
Top achievements
Rank 1
answered on 20 Feb 2020, 10:37 AM

Thank you for your reply. I fully understand the design choice.

 

Best regards, Helena.

Tags
DateTimePicker
Asked by
Franka
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Franka
Top achievements
Rank 1
Share this question
or