gpt4 book ai didi

fullcalendar - 一周和一天 View 上的时间范围

转载 作者:行者123 更新时间:2023-12-04 04:43:17 30 4
gpt4 key购买 nike

我说的产品是 Adam Shaws Plugin Fullcalendar

我对这个产品非常满意。但是我不是代码专家。我正在使用此日历来显示预订。然而,时间行从上午 12 点开始显示。实际上我只需要显示从 8am 到 10.oopm 的条目表。我想知道这是否可以实现并释放更多空间来使现有行更大,以增强事件预订的显示。

最佳答案

尝试使用议程日 View :

$('#calendar').fullCalendar({
minTime: "07:00:00",
maxTime: "21:00:00"
});

minTime: Determines the first hour/time that will be displayed, even when the scrollbars have been scrolled all the way up. http://arshaw.com/fullcalendar/docs/agenda/minTime/

maxTime: Determines the last hour/time (exclusively) that will be displayed, even when the scrollbars have been scrolled all the way down. http://arshaw.com/fullcalendar/docs/agenda/maxTime/

also maybe helpful: firstHour: Determines the first hour that will be visible in the scroll pane.

Integer, default: 6 Values must be from 0-23, where 0=midnight, 1=1am, etc.

The user will be able to scroll upwards to see events before this time. If you want to prevent users from doing this, use the minTime option instead. http://arshaw.com/fullcalendar/docs/agenda/firstHour/

关于fullcalendar - 一周和一天 View 上的时间范围,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3715150/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com