| Issue 1051: | How to set "real" current month in eventsources? | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi, in the Month view, I understand that when I view the calender, it will show the last few days of the previous month. Like for example:
June July
26 | 27 | 28 | 29 | 30 | 1 | 2 | 3 ...etc
I need to retrieve the "exact" month of the view, in this case July to my eventSources. I know that I can use
.fullCalendar('getView');
.currView.visEnd.getMonth( );
But when the calendar first load, there is no way I can retrieve this variable and append to my eventSources:
eventSources: [{
url: "/calendar/getEvents",
type: "POST",
data: {
currMonth: visEndMonth
},
error: function( ) {
alert("there was an error while fetching events!");
}
},
Any advise is greatly appreciated.
Jul 29, 2011
Project Member
#1
althaus.it
Status:
Done
|
|
| ► Sign in to add a comment |