Also how do I update the calendar view? If I want to remove a group from the view I thought removing all the appointments of a group would easily update the calendar view but after removing a group appointments the group header remains example on the jseditor template I want to remove “51 – OPEN” so I do something like:
appointment_data = appointment_data.filter(function (appointment) {
return appointment.owner != 51;
});
$("#scheduler").jqxScheduler('beginAppointmentsUpdate');
$('#scheduler').jqxScheduler('getAppointments').map(function (appointment) {
$('#scheduler').jqxScheduler('deleteAppointment', appointment.id);
});
schedulerSource.localData = [];
schedulerSource.localData = appointment_data.map(function (appointment) {
$('#scheduler').jqxScheduler('addAppointment', appointment);
});
$("#scheduler").jqxScheduler('endAppointmentsUpdate');
the appointment_data is already filtered so “51 – OPEN” is removed from the list, I clear the calendar view and load it with new appointments from the list of filtered data to update the users view although appointments were updated but the header still remains. I already tried to do dataBind using the dataadapter but the result is the same and instead of grouping the appointments the databind sets all appointments into 1 group and the headers remains the same, I can make it work by regenerating the calendar view again but the process is slow compared to updating just specific appointments from the generated calendar view is there a way to do this on jqxscheduler?