Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我似乎无法让 Kendo UI 调度程序停止将周六和周日视为非工作日?我不想在周六和周日显示灰色。如何设置工作日?
您可以将 workWeekEnd 设置为整数值。默认值为 5,即星期五。将其设置为 6 将使星期六显示为工作日,而 7 使星期日显示为工作日。
例子:
$("#scheduler").kendoScheduler({ workWeekEnd: 6 });
来源: http ://docs.telerik.com/kendo-ui/api/web/scheduler