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

DayPilot.Row.events.all()

Asked by Anonymous
3 years ago.

DayPilot.Row.events.all() method returns all events for the row.

How can I retrieve the "resource" and "tags" (object with custom properties) from the returned events (DayPilot.Event.data object) ?

I have the following:

dps.onBeforeRowHeaderRender = function(args) {
var isEmpty = args.row.events.isEmpty();
var events = args.row.events.all();

....
}

Answer posted by Dan Letecky [DayPilot]
3 years ago.

You can access the original data object like this:

var data = events[0].data;
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.