0
有没有办法在fullCalendar创建后绑定事件?创建fullCalendar后绑定事件
喜欢的东西:
jQuery('#calendar').bind('dayClick', function(date, allDay, jsEvent, view){});
有没有办法在fullCalendar创建后绑定事件?创建fullCalendar后绑定事件
喜欢的东西:
jQuery('#calendar').bind('dayClick', function(date, allDay, jsEvent, view){});
这是目前不可能的,但我真的想拥有它的fullcalendar。当我重新构建一些东西时,可能会在1.5。您可以向issue tracker添加功能请求吗?谢谢
off course you can。
$('#calendar').fullCalendar('renderEvent',
{
title: 'title',
start: 'start date',
end: 'end date',
id: 'id',
description: 'description',
allDay: globalAllDay,
color: 'blue'
},
true
);
这方面有没有进展?我将FullCalendar整合到一个非常强大的SharePoint应用程序中,并且如果有任何失败(例如用户身份验证),我仍然想要呈现日历。也就是说,我的意图是首先渲染出日历,然后在页面上呈现日历并找到用户后绑定“选择”事件。感谢您的任何更新。 – EHorodyski 2013-07-08 13:07:24