I am binding events to scheduler using below thehnique.Everything is working fine except navigater.Please help me sir
// generate and load events
$.ajax({
type: "POST",
url: "/Scheduler/GetEvents",
dataType: "json",
success: function (responsex) {
events = [];
var response = JSON.parse(responsex);
//$.each(data, function (i, v) {
for (var i = 0; i < response.length; i++) {
var e = new DayPilot.Event({
start: response[i].start,
end: response[i].end,
//id: DayPilot.guid(),
id: response[i].Id,
resource: response[i].resource,
text: response[i].text,
backColor: response[i].BackColor,
description: response[i].Description
/*,
bubbleHtml: "Testing bubble"*/
});
dp.events.add(e);
// console.log("Event Add");
//console.log(e);
}
},
error: function (error) {
alert('failed');
}
})