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

Custom Day of Week Headers

3 Answers 423 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 09 Aug 2015, 10:51 PM

I am trying to create a page that asks generally when someone would be available during a work week independent of the actual day of year.  I would like to modify the work week schedule view to only have Mon, Tue, Wed, Thu, Fri in the header vs/ Mon M(onth)/D(ay), Tue M/D, ...

 How do I remove the M/D value and only keep the Day of Week abbreviation?

 

Thanks,

 John

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 11 Aug 2015, 02:11 PM

Hello John,

 

In order to customize the date text I would suggest using the dateHeaderTemplate

 

Please refer to http://dojo.telerik.com/aFufO example. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Uğur
Top achievements
Rank 1
answered on 12 Aug 2015, 08:34 PM

Hi,

Would it be possible to view only M for Monday, T for Tuesday and so on, instead of Mon, Tue, ...?

Thanks,

Ugur

0
Boyan Dimitrov
Telerik team
answered on 17 Aug 2015, 07:00 AM

Hello Uğur,

The table that contains the week days has class k-scheduler-table. My suggestion is to find each table header (th) element that contains the text for each day and modify it using jQuery text method. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
John
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Uğur
Top achievements
Rank 1
Share this question
or