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
3 days 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]
23 hours ago.

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

Answer posted by Dushan
11 hours ago.

THX

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):