I see. You should be able to achieve that by inserting custom active areas into the time headers. Active areas are translated as <div> elements inserted at the specified position inside a time header cell. You can specify the position using pixels (left/right/top/bottom/width/height). You can also replace left/right with start/end DayPilot.Date objects (the pixel position will be calculated automatically).
Something similar is demonstrated here:
http://javascript.daypilot.org/demo/scheduler/timeheaderactiveareas.html
This demo splits a month row header into thirds.
dp.onBeforeTimeHeaderRender = function(args) {
if (args.header.level === 0) {
args.header.areas = [
{right: 2, top: 2, bottom: 2, width: 20, backColor: "#ccc", html: "i", action: "JavaScript", js: function(header) { console.log(header); alert('details'); }},
];
}
else if (args.header.level === 1) {
var point1 = args.header.start.addDays(10);
var point2 = args.header.start.addDays(20);
args.header.areas = [
{start: args.header.start, end: point1, top: 0, bottom: 0, backColor: "rgba(0, 255, 0, .4)", html: "1st third"},
{start: point1, end: point2, top: 0, bottom: 0, backColor: "rgba(255, 0, 0, .4)", html: "2nd third"},
{start: point2, end: args.header.end, top: 0, bottom: 0, backColor: "rgba(255, 255, 255, .4)", html: "3rd third"},
];
args.header.html = "";
}
};
See also: