I'm using a JavaScript scheduler to schedule a busy machine-shop and most of our work is scheduled on a M-F basis. I don't want to hide Saturday and Sunday, because we occasionally schedule work on those days. However, I would like to devote fewer pixels to Saturdays and Sundays. I can't seem to address widths using CSS classes. I already have a fixed cell width and a slider as per your tutorial and it updates the cellwidth using the following code:
$(document).ready(function() {
$("#cellwidth")[0].oninput = function(ev) {
var cellwidth = parseInt(this.value);
$("#label").html(cellwidth);
var date = dp.getViewPort().start.addTime((dp.getViewPort().end.getTime() - dp.getViewPort().start.getTime())/2);
dp.cellWidth = cellwidth;
dp.update();
dp.scrollTo(date, null, "middle");
};
Is there any way to set cell widths differently for business vs non-business cells?
Any info is appreciated. Much thanks in advance!