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

get all events from resource calendar

Asked by Romux
4 years 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]
4 years 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.

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