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

get all events from resource calendar

Asked by Romux
22 days ago.

I found something like that to get all events in a resource - but it seems to work only on resource scheduler.
https://api.daypilot.org/daypilot-row-events-all/

How can i get all events of a resoure or all events of a day on resource calendar?

thanks

Answer posted by Dan Letecky [DayPilot]
15 days ago.

It's now available in the latest sandbox build (2019.4.4058):
https://javascript.daypilot.org/sandbox/

Example:
var col = dp.columns.find("2019-10-07");  // DayPilot.Column object
var events = col.events.all();

The DayPilot.Column object is also available in onBeforeHeaderRender and onHeaderClick as args.column.

New Reply
This reply is
Your name (optional):