Is there any possibility to remove comma(,) from week/day view headers(Sun, 12/17 --> Sun 12/17) in kendo angular scheduler?

1 Answer 143 Views
Scheduler
shabana
Top achievements
Rank 1
shabana asked on 17 Dec 2021, 05:15 PM
We have a requirement to remove comma(,) from week and day view headers i.e., Sun,12/17 to Sun 12/17 in kendo angular scheduler. Is there any possibility to achieve this.

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 17 Dec 2021, 09:55 PM

Hello Shabana,

To remove the comma (,) from the Date Header of the Kendo UI Scheduler, use the DateHeaderTemplateDirective in the Day and Week View to define the custom template. For example:

<kendo-scheduler-day-view>
  <ng-template kendoSchedulerDateHeaderTemplate let-date="date">
    {{ date | date: 'EE M/dd' }}
  </ng-template>
</kendo-scheduler-day-view>

In this StackBlitz example, I have removed the comma from the Date Header of the Kendo UI Scheduler Day and Week View.

I hope this helps. Please let me know if I can further assist you.

Regards,
Hetali
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

shabana
Top achievements
Rank 1
commented on 20 Dec 2021, 05:19 AM

Hi Hetali,

Thanks alot for your timely response. This gave me the expected result.

Regards,

Shabana

Tags
Scheduler
Asked by
shabana
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or