Hi,
I made some tests, but it not seems possible to hide week-end days (Saturday and Sunday) from the unit view when using Multiple days option.
I tried with the 'scheduler_ignore" function, it doesn’t work: Thursday always disappears
Example:
scheduler.ignore_weekView_unit = function(date){
if (date.getDay() == 6 || date.getDay() == 0) return true;
};
scheduler.createUnitsView({
name:"weekView_unit",
property:"rooms_id",
list:rooms,
days:7
});
scheduler.init('scheduler_here',new Date(2014, 5, 30),"weekView_unit");
......
<div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>
<div class="dhx_cal_navline">
<div class="dhx_cal_prev_button"> </div>
<div class="dhx_cal_next_button"> </div>
<div class="dhx_cal_today_button"></div>
<div class="dhx_cal_date"></div>
<div class="dhx_cal_tab" name="weekView_unit_tab" style="right:280px;"></div>
<div class="dhx_cal_tab" name="dayView_unit_tab" style="right:280px;"></div>
</div>
<div class="dhx_cal_header">
</div>
<div class="dhx_cal_data">
I tried with ‘days: 7’ and ‘days:5’ with no success…
Is there any way to hide some days or is it not implemented ?
My temporary solution is to grey this days with:
scheduler.blockTime(0, "fullday");
scheduler.blockTime(6, "fullday");