| Issue 1135: | Dynamic Event Array | |
| 1 person starred this issue and may be notified of changes. | Back to list |
$(document).ready(function() {
alert('ready');
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
var s="{title: 'All Day Event',start: new Date(y, m, 1)},{title: 'All chi Event',start: new Date(y, m, 2)}";// here i will use jsonArray like
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
editable: true,
events: [
s]
});
});
In my case, I need to give dynamic events from my java class as shown above
events:[s];
I will pass this 's' from my java class as an jsonArray object.
But it is not displaying events on the calender.
Can you guys please respond me about this as I need to complete this task as soon as possible.
Oct 2, 2011
Project Member
#1
adamrs...@gmail.com
Status:
Done
|
|
| ► Sign in to add a comment |