如何检索Scheduler行高?

时间:2018-04-26 13:48:37

标签: javascript fullcalendar-scheduler

使用Scheduler,部分是我的fullCalendar选项:

                header:
                   {
                      left: 'prev,next',
                      center: 'title',
                      right: 'timelineMonth,timelineYear'
                    },
                    defaultView: 'timelineMonth',           
                    resourceLabelText:' ',
                    resourceAreaWidth  : "10%", // (etc)

我需要根据我的ressource数组中的行数计算height:选项(或者事件数组 - 我不确定)。

如何检索调度程序标准行高?

版本:我将使用defaultView: 'timelineMonth'选项使用Scheduler,即在' timeline'视图。但是,如果未设置height选项,则Scheduler会向下延伸显示区域,远远超出要显示的行数。我想通过计算必要的高度来检查这种行为。

0 个答案:

没有答案