Fullcalendar jquery插件中的Year View

Pau*_*aul 34 javascript jquery jquery-plugins fullcalendar

我在fullcalendar中启动了YearView(从基本的'MonthView'派生,需要显示更长的事件,如学校假期),如果有人已经熟悉事件在视图上显示的方式,我可以使用手.

  1. 使用'BasicEventRenderer',如何为'DayEventRenderer'填充'segmentContainer'?
  2. 我何时初始化分隔活动年份的默认开始和结束日期?(起始月份可以更改,能够在当前月份和当前日期保持亮点非常好).

请访问https://github.com/Paulmicha/fullcalendar查看我的github fork

- >示例文件是https://github.com/Paulmicha/fullcalendar/blob/master/tests/year-view-test-01.html


在此输入图像描述

Edu*_*omo 11

FullCalendar文档:http://arshaw.com/fullcalendar/docs/

以JSON格式加载事件:http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/

渲染事件:http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/

渲染事件示例:

fc.fullCalendar('renderEvent', {
    'id': 1,
    'title': 'Test Event 1',
    'start': '2009-11-05T13:15:30Z',
    'end': '2009-11-05T13:30:00Z'
});
Run Code Online (Sandbox Code Playgroud)

限制可用月份的显示:Fullcalendar限制可用月份的显示?