跳转到主要内容

日视图

日视图用于显示单一天的日历。

day_view

初始化

基本调度器标记 中,日视图默认包含在内。这意味着无需编写额外代码即可在调度器中启用此视图。

//标准初始化。日视图会自动包含
scheduler.init('scheduler_here',new Date(2019,0,10),"week");
...
scheduler.load("/data/events");

Basic initialization

移除日视图标签页

如果你想从调度器中移除日视图标签页,只需从 调度器标记 中删除相应的 div 即可:

//删除此 div 以隐藏 Day 标签页
<div className="dhx_cal_tab" name="day_tab"></div>

相关指南

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.