How to load properly load resources and events on Scheduler
Asked by Anonymous
9 years ago.
Hi,
I am trying to build up the scheduler using jQuery engine using C# MVC as backend for JSON but being unable to load resources from server.
I want to load a list of items on the left column without a tree and load different events on the calendar part of the scheduler.
Any help would be apreaciated.
thanks
Answer posted by Anonymous
9 years ago.
After a day of work I managed to do it but still don't know if I am doing it correctly but it works.
I created the scheduler object and when I got to resources I did an Ajax quest just for it and the init();
$.ajax({
type: "POST",
url: chartDataUrl,
dataType: 'JSON',
success:function(data)
{
v.resources = data;
v.init();
}
});
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.