Let's say you have a list of days to be highlighted:
var days = ["2016-01-01", "2016-05-01"];
You can use the following code to highlight these days in the Scheduler:
dp.onBeforeCellRender = function(args) {
var highlight = DayPilot.list(days).map(function(src) { return new DayPilot.Date(src); }).some(function(day) { return day === args.cell.start.getDatePart(); });
if (highlight) {
args.cell.backColor = "#aaa";
}
};