| Issue 1655: | how to get events from a json string in full calender | |
| 1 person starred this issue and may be notified of changes. | Back to list |
as we are using json string for events and passing that string as a array of json object after parsing.the aaray is returned from a javascript function.But when we apply the json array to events in fullcalender,it doesn't show the events.
Following is the code:
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
editable: true,
events:callme
//callme is the function returning json array of //objects
});
///////////Where callme is the function which return the json array of objects
function callme()
{
var obj=" ";
obj=jQuery.parseJSON(str);// Here str is a valid json string
return obj; //parsing has done successfully
}
Aug 21, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Invalid
|
|
| ► Sign in to add a comment |