当设置为true时,Fullcalendar.io议程周刊不显示“全天”列

时间:2016-07-21 17:19:29

标签: javascript fullcalendar

我有一个fullcalendar.io实现,我试图在all-day视图中显示agendaWeek列:

$('#calendar').fullCalendar({
    header: {
      left: 'prev,next today',
      center: 'title',
      right: 'month,agendaWeek,agendaDay'
    },
    defaultDate: '2014-06-12',
    defaultView: 'agendaWeek',
    allDaySlot: true,
    allDayDefault: true,
    weekNumbers: true,
    editable: false,
    slotDuration: '00:30:00',
    snapDuration: '00:15:00',
    slotEventOverlap: true,
    axisFormat: 'HH:mm',
    lang: 'es',
    events: [
      {
        title: 'All Day Event',
        start: '2014-06-01'
      },
      {
        title: 'Long Event',
        start: '2014-06-07',
        end: '2014-06-10'
      },
      {
        id: 999,
        title: 'Repeating Event',
        start: '2014-06-09T16:00:00'
      },
      {
        id: 999,
        title: 'Repeating Event',
        start: '2014-06-16T16:00:00'
      },
      {
        title: 'Meeting',
        start: '2014-06-12T10:30:00',
        end: '2014-06-12T12:30:00'
      },
      {
        title: 'Lunch',
        start: '2014-06-12T12:00:00'
      },
      {
        title: 'Birthday Party',
        start: '2014-06-13T07:00:00'
      },
      {
        title: 'Click for Google',
        url: 'http://google.com/',
        start: '2014-06-28'
      }
    ]
  });

问题是:事件显示在列表中,没有格式,我做错了???

0 个答案:

没有答案