javascript - Fullcalendar editable property not working? -


here code

 $(document).ready(function() {      $('#calendar').fullcalendar({         header: {             left: 'prev,next today',             center: 'title',             right: 'month,basicweek,basicday'         },         dayclick: function() {             alert('nemke');         },                 events: function(start, end, callback) {             $.ajax({                 url: 'usercalendarservice.asmx/getevents',                 type: 'post',                 datatype: 'xml',                 data: {start: + math.round(start.gettime() / 1000),end: + math.round(end.gettime() / 1000)},                                 success: function(result) {                                 var events = [];                 $(result).find('event').each(function() {                     events.push({                         title: $(this).find('title').text(),                         start: $(this).find('start').text(),                         editable: $(this).find('editable').text()                      });                 });                 callback(events);                 }             });         },         disableresizing: true,         editable: false         //disabledragging:true     })   }); 

this property editable false not working. tried set each event it's behavior server, , didn't work. tried set property false, , didn't work. need set events editable , not. can set disabledragging, doesn't solve issue 'cause need of events able drag.

this property works event source set array example looks ajax callback not working. has had similar issue?

fullcalendar link

the .text() method returns string , editable supposed have boolean value


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -