Our pure JavaScript Scheduler component


Post by sufianh »

Is there a way to get the events that were selected using drag selection?


Post by tasnim »


Post by sufianh »

Is there an event in the Scheduler which is triggered after the user drag selects events? Such thing would be: onAfterEventDragSelection or anything similar. I can't seem to get the selectedEvents as it looks always empty to me.


Post by tasnim »

Hi,

You should be able to retrieve the selected events with https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/EventSelection#property-selectedEvents

It's working fine for me here

msedge_Jn0UUi4xem.gif
msedge_Jn0UUi4xem.gif (896.95 KiB) Viewed 74 times

We don't have any event like that for EventDragSelect. But this event https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/EventSelection#event-eventSelectionChange might be helpful.

What does your scheduler pro config look like?


Post Reply