Hello,
I'm trying to export all the events displayed in the time range.
How can I check if an event is in the set time range? Furthermore, I need information about the stacking, i.e. at which position an event is in the line, is there such a thing as a stacking count?
Regards
Support Forum
Hello,
https://www.bryntum.com/docs/scheduler/#Common/helper/DateHelper#function-intersectSpans-static
https://www.bryntum.com/docs/scheduler/#Common/helper/DateHelper#function-timeSpanContains-static
Also there is a method to get events in a timespan:
https://www.bryntum.com/docs/scheduler/#Scheduler/data/mixin/EventStoreMixin#function-getEventsInTimeSpan
Providing user sorter function is broken right now. Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8642-custom-event-sorting-is-not-supported/details
Best,
Pavel
We have some date helpers. Please see:How can I check if an event is in the set time range?
https://www.bryntum.com/docs/scheduler/#Common/helper/DateHelper#function-intersectSpans-static
https://www.bryntum.com/docs/scheduler/#Common/helper/DateHelper#function-timeSpanContains-static
Also there is a method to get events in a timespan:
https://www.bryntum.com/docs/scheduler/#Scheduler/data/mixin/EventStoreMixin#function-getEventsInTimeSpan
It's not supported out of the box. We do not expose order position to the data. To define order a sorter function is applied. Please see HorizontalEventMapper.eventSorter function in lib/Scheduler/view/orientation/HorizontalEventMapper.js file.I need information about the stacking, i.e. at which position an event is in the line, is there such a thing as a stacking count?
Providing user sorter function is broken right now. Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8642-custom-event-sorting-is-not-supported/details
Best,
Pavel
Pavlo Miklashevych
Sr. Frontend Developer