Team,
I have a configuration settings like below.,
Weekdays = [1,2,3,4,5] {Monday to Friday}
Weekends = [0,6] {Saturday and Sunday}
excludeddays = {4:[1,2,3,5], 3:[2,4,5]} {We have to exclude first, second, third, and 5th week of Thursdays and exclude second, 4th and 5th week of Wednesdays}
And i have used addMarkedTimespan function to achieve weekends, and weekdays like below.,
$.each(weekdays, function (key, item) {
o.scheduler.addMarkedTimespan({
days: item,
zones: [0,12*60, 13*60, 24*60]
invert_zones: false,
css: "working_time",
sections: {
timeline: ownerId
}
});
});
$.each(weekends, function (key, item) {
o.scheduler.addMarkedTimespan({
days: item,
zones: "fullday",
css: "working_time",
sections: {
timeline: ownerId
}
});
});
Both of the weekdays, weekends are working fine. Is there any possible way to do excluded days ?