2014-11-07 7 views
1

fullcalendar v2가 작동하지 조정 : http://jsfiddle.net/949Xy/18/fullcalendar v2는

$('#calendar').fullCalendar({ 
header: { 
    left: 'prev,next today', 
    center: 'title', 
    right: 'month,basicWeek,basicDay' 
}, 
defaultDate: '2014-01-12', 
editable: true, 
events: [{ 
    title: 'Long Event', 
    start: '2014-01-07', 
    end: '2014-01-10' 
}, 
{ 
    title: 'Long Event 2', 
    start: '2014-01-07T00:30:00', 
    end: '2014-01-09T08:30:00' 
}, 
{ 
    title: 'Long Event 3', 
    start: '2014-01-07T00:30:00', 
    end: '2014-01-09T09:30:00' 
}] 

을});

길어 보시면 알 수 있듯이 event3은 크기를 조정할 수 없지만 event2는 크기를 조정할 수 있습니다. 긴 이벤트 3 쇼 시간과 제목 때문일 수 있습니다. 그러나 긴 이벤트 2는 제목 만 표시합니다. 내가 긴 event3을 이와 같이 설정하면 title : 'Long Event 3', start : '2014-01-07', 끝 : '2014-01-09' long event3 크기를 조정할 수 있습니다.

V1을 사용하면 #calendar 클래스에서 width: 900px;을 제거하면

도움이

+0

여기 HTTP보다 같은 문제가 작동합니다 : /stackoverflow.com/questions/26814568/fullcalendar-incorrect-event-end-date-after-eventresize/26884528#26884528 –

답변

1

주셔서 감사합니다이 문제가없는, 내가 생각