I wanted to know, how to add some more datafields do DayPilot-Scheduler. Standard is eventsatrt, eventend, name, id, resource_id. It would be nice to add her some custom fields. is it possible? How?
In BeforeEventRender event handler, you can reach the original data item using e.DataItem property:
e.DataItem["field1"] // field1
e.DataItem.Source // the original object
e.DataItem is accessible automatically.
it works fine!