Select days in a custom view

Hello,
I’m requested to create a custom view to show a customizzable number of non consecutive days. For example it could be possible to show 3 days at the time excluding sunday and monday. If I start the view on Friday I have to show Friday, Tuesday and Wednesday.

Is it possible ?

Kind regards,
Fabio Drago

Hello @fabio.drago,

You can exclude specific days with the ignore_{viewName} method, like follows:

// 0 refers to Sunday, 6 - to Saturday
scheduler.ignore_workweek = function(date){
if (date.getDay() == 0 || date.getDay() == 6) //hides Saturdays and Sundays
return true;
};

Kind regards,