基本显示设置之height

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

设置整个日程表的高度(包括头),值为整数类型。默认情况下,此值未设置,日程表的高度由aspectRatio决定。例子:

$('#calendar').fullCalendar({
    height: 650
});

也可以在初始化之后动态的设置日程表高度:

$('#calendar').fullCalendar('option', 'height', 700);

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