基本显示设置之contentHeight

优质
小牛编辑
117浏览
2023-12-01

设置日程表内容区域的高度,值为整数。默认情况下,此值未设定,日程表的高度由aspectRatio决定,例子:

$('#calendar').fullCalendar({
    contentHeight: 600
});

在日程表初始化之后,可以动态设置:

$('#calendar').fullCalendar('option', 'contentHeight', 650);

官方英文文档:http://arshaw.com/fullcalendar/docs/display/contentHeight/