Reputation: 77
How do I bind Json data to kendoscheduler. Javascript. I am new to kendo products. I am able to get Json data to show in Fullcalendar
{
"title":"Graduation Ceremony Group H",
"start":"4/23/2015",
"end":"4/23/2015",
"description":"901 Boulevard Street"
}
Upvotes: 0
Views: 1773
Reputation: 2596
First you need to build its datasource and then put the datasource to the scheduler..
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6")
});
var scheduler = $("#scheduler").data("kendoScheduler");
var dataSource = new kendo.data.SchedulerDataSource({
data: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
scheduler.setDataSource(dataSource);
Read following documentation to help you build your own scheduler with proper datasource so its fit what you need..
Scheduler DataSource Documentation
Upvotes: 2