Declined
Last Updated: 23 Oct 2019 08:22 by ADMIN
Musashi
Created on: 16 Oct 2019 19:52
Category: DatePicker
Type: Feature Request
0
Ability to customize header without being part of the level button

Right now, I can provide a template for the header but that includes the whole template as part of the button to go up a level.

Ideally I want to be able to add a button next to TODAY for custom date calculation

1 comment
ADMIN
Svet
Posted on: 23 Oct 2019 08:22

Hi Musashi,

Thank you for the logged feature request.

In general, the template allows adding any custom implementation based on the specifics of the use-case scenario. About this case, the default action of the button, located within a kendoCalendarHeaderTitleTemplate, can be avoided by stopping the propagation of the generic (click) event as demonstrated in the following example:

https://stackblitz.com/edit/angular-senuak?file=app/app.component.ts

That allows the developer to add any custom logic. In case further assistance is required for the implementation of a specific scenario please open a separate private ticket. Thank you.

Regards,
Svetlin
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.