I am using FullCalendar throughout my project and I need to disable dragging, but enable click, I have tried the following code below, but without success
$('#calendar').fullCalendar({
theme: true,
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
defaultDate: '2014-01-12',
editable: true,
eventStartEditable: false
});
Edit
It is possible to drag an even and click on the calender day, i need to disable dragging, but when i do, the click event dont fire
dayClick: function(date, jsEvent, view) {
console.log(
'Clicked on: ' + date.format +
'Coordinates: ' + jsEvent.pageX + ',' + jsEvent.pageY+
'Current view: ' + view.name
);
}