search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Header groups for Calendar component and viewType: 'Days'

Asked by Dushan
2 months ago.

How can I generate Calendar with Days viewType heaving geader groups ove dates in columns, like timeHeaderGroups i Scheduler or even Resorce groups.

Also, this example at https://doc.daypilot.org/calendar/column-header-hierarchy/ is not working:
const dp = new DayPilot.Calendar("dp"); dp.viewType = "Resources"; dp.headerLevels = 2; dp.columns = []; const group = { name: "John", children: []}; dp.columns.push(group); const start = DayPilot.Date.today().firstDayOfWeek(); for (var i = 0; i < 7; i++) { const date = start.addDays(i); const column = {name: date.toString("MMMM d, yyyy"), id: "john", start: date}; group.children.push(column); }; dp.init();


Regards

Answer posted by Dan Letecky [DayPilot]
2 months ago.

Unfortunately, this feature is only supported in the Pro version.

Answer posted by Dushan
2 months ago.

THX

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.