scheduler parse function not working

Hi,

I am trying to load data in the scheduler via JSON. I can see that I am getting the whole JSON array. I can even see the correct output if I use “stringify”. But when I parse, nothing gets loaded in the calendar.

Can you please help identify the problem?

$.getJSON("url", function(data) { alert(data); testOb = JSON.stringify(data); scheduler.parse(testOb,"json"); scheduler.parse(data,"json"); });

Can you post a sample of json data which wasn’t parsed by the scheduler?

Hi,

I have attached an image showing the json array. Thanks.


You have end_date as null - which is incorrect, each event must have valid start and end date

Thanks! It is working now.