fullCalendar 플러그인 일반 매개 변수 설정 예

4750 단어
   asp.net       205914059,    
events

var
 Data = [];
            for (var i = 0; i var titleStr = jdata[i]["sRoomName"];                 Data.push({ "id": i, "title": titleStr, "start"new Date(jdata[i]["sectBegin"]), "allDay"false"color""red""textColor""#fff" })             }


$('#calendar').fullCalendar({                 header: {                     left: 'prev,next today',                     center: 'title',                     right: 'month,agendaWeek,agendaDay'                 },                 editable: true,                 monthNames: [" "" "" "" "" "" "" "" "" "" "" "" "],                 monthNamesShort: [" "" "" "" "" "" "" "" "" "" "" "" "],                 dayNames: [" "" "" "" "" "" "" "],                 dayNamesShort: [" "" "" "" "" "" "" "],                 today: [" "],                 allDayText: " ",                 axisFormat: 'tth(:mm) ',                 timeFormat: 'tth(:mm) ',                 buttonText: {                     today: ' ',                     month: ' ',                     week: ' ',                     day: ' '                 },                 height:600,                 events: Data,                 eventClick: function (event) {                     if (event.id) {                   alert(event.id);                            
            return false;                     }                 }             });

asp.net 205914059

전재 대상:https://www.cnblogs.com/zhaosazi77/archive/2012/10/25/2738442.html

좋은 웹페이지 즐겨찾기