Hi!
I’m trying to do the same thing but, how do I set this property?
I’m trying with a modification of the timeline view with resources demo. If I set the source to be “adapter” when loading the scheduler for the first time, everything works well… but I cannot change or update the source once it’s loaded. I’m trying with this little modification:
$("#scheduler").jqxScheduler({
date: new $.jqx.date(2016, 11, 23),
width: 850,
height: 600,
dayNameFormat: "abbr",
/*source: adapter,*/
showLegend: true,
ready: function () {
//$("#scheduler").jqxScheduler('ensureAppointmentVisible', 'id1');
if (refreshBookingsSource) {
refreshBookingsSource = false;
console.log("refreshing");
$("#scheduler").jqxScheduler({
source: adapter
});
}
},
I’ve modified nothing but this (commented the source and then set it inside the ready function). The log makes its way to the console, but the appointments are not updated.
Thanks in advance for your help!