时间表以下是什么?如何禁用它?

时间:2019-07-11 17:00:20

标签: jquery fullcalendar fullcalendar-4

我已经附上了全日历视图的图片,想知道是否可以删除计划表下方突出显示的部分,以及如何执行此操作。

代码:

var calendar = new FullCalendar.Calendar(calendarEl, {
    plugins: [ 'timeGrid', 'bootstrap' ],
    defaultView: 'timeGridWeek',
    themeSystem: 'bootstrap',
    allDaySlot: false,
    slotDuration: '01:00:00',
    minTime: '09:00:00',
    maxTime: '23:00:00',
    nowIndicator: true,
    locale: 'dk',
    timeZone: 'local',
    firstDay: 1,
    weekNumbers: true,
    weekLabel: "Uge",
    columnHeaderFormat: {
        weekday: 'long',
        month: 'short',
        day: 'numeric',
    },
    buttonText: {
        today: 'i dag',
        month: 'måned',
        week: 'uge',
        day: 'dag'
    },
    events: [
        {
            title: 'ROCKETMAN',
            start: '2019-11-07',
            end: '2019-11-07'
        }
    ]
});

fullcalendar - highlighted content needs to be removed

1 个答案:

答案 0 :(得分:1)

我需要将高度设置为自动:

var calendar = new FullCalendar.Calendar(calendarEl, {
    plugins: [ 'timeGrid', 'bootstrap' ],
    defaultView: 'timeGridWeek',
    height: 'auto'
});