Hi, im trying the JavaScript Daypilot with a spring mvc model.
how i put in to the dp.startDate a date retrieved from the controller?
The idea is i want to start the calendar in an specific month to show an specific event.
Do i need to use an AJAX call to do it?
var nav = new DayPilot.Navigator("nav");
nav.showMonths = 3;
nav.skipMonths = 3;
nav.selectMode = "month";
nav.onTimeRangeSelected = function(args) {
dp.startDate = args.day;
dp.update();
dp.events.load("/solicitudPendiente");
};
nav.init();
var dp = new DayPilot.Month("dp");
dp.init();
dp.eventEndSpec = "Date";