Two issues on the RadScheduler Weekview column header:
How to disable the clickable link in the column header?
We want to only show dayname as header eg. "Sunday Monday Tuesday". What format string to use herefore?
Thanks,
Marc
1 Answer, 1 is accepted
0
Vasko
Telerik team
answered on 31 Oct 2024, 12:19 PM
Hello Marc,
You can disable the clickable link in the OnClientNavigationCommand event, by checking if the command being executed is the SwitchToSelectedDay Scheduler command:
functiononClientNavigationCommand(sender, args) {
let command = args.get_command();
let navigationCommands = Telerik.Web.UI.SchedulerNavigationCommand;
if (command === navigationCommands.SwitchToSelectedDay) {
args.set_cancel(true);
}
}
To make the days show their name, you can use the ColumnHeaderDateFormat property of the WeekView: