select事件正常工作,但eventClick不适用于这些视图(agendaWeek / agendaDay),虽然它在月视图中工作正常
$('#calendar').fullCalendar({
eventClick: function (calEvent, start) {
$("#btnRemove").show();
$dlg.editdialog("open", { start: calEvent.start, end: calEvent.end, labId: $("#ddlLab").val(), id: calEvent.id });
$(this).css('border-color', 'red');
},
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
disableDragging: true,
selectable: true,
selectHelper: true,
select: function (start, end, allDay) {
$("#btnRemove").hide();
$dlg.editdialog("open", { start: start, end: end, labId: $("#ddlLab").val() });
},
editable: true
});
我通过使用(disableResizing:true)
解决了这个问题答案 0 :(得分:0)
我通过使用(disableResizing:true)
解决了这个问题