开发者

Is something forcing the FullCalendar to scroll to the top?

in $(document).ready I'm adding a class to one of the #calendar tr's to represent the "current" time, then I'm calling the jQuery function scrollTop() to scroll .fc-agenda-body to that position. It works, but it looks as though .fc-agenda-body is being force back to the top after the events render. Can I unbind this event somehow OR开发者_运维百科 is there an event I can bind to once ALL of the calendar events have been rendered?


You have the firstHour property set, which determines which hour the calendar will initially display, it won't prevent the user from scrolling up.

If you want to prevent that, then use minTime instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜