DayPilot.Scheduler.onIncludeTimeCell

Declaration

onIncludeTimeCell(args)

Parameters

  • args.cell.start
  • args.cell.end
  • args.cell.visible

Notes

Does not require showNonBusiness = false.

Example

    dp.onIncludeTimeCell = function(args) {
        if (args.cell.start.getDayOfWeek() === 0) { // hide Sundays
            args.cell.visible = false;
        }
    }; 

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java