Page 1 of 1
[REACT] How to prevent selection clear when clicking on Scheduler
Posted: Fri Jun 09, 2023 12:13 pm
by tagnm
Hi,
We are working on our Event selection functionality.
I have been unable to find the event that stops Events becoming deselected when a click is initiated on the Scheduler (the empty space with no Events).
I tried forcing scheduleClick
to return false. But that did not work. A eventSelectionChange
with a action value of "clear" is still triggered.
Can you help me please?
NM
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Fri Jun 09, 2023 1:50 pm
by tasnim
Hi,
Unfortunately, it's not supported yet. I've opened a feature request for that. Here is the ticket https://github.com/bryntum/support/issues/6964
Good Luck,
Tasnim
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Fri Jun 09, 2023 5:25 pm
by tagnm
Thank you Tasnim, I will keep an eye on that request.
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Wed Aug 09, 2023 4:51 pm
by tagnm
I have circled back to this.
Based on reading the documentation, was this new feature implemented as "deselectAllOnScheduleClick"?
I can not see anything in the release documentation for v5.3.7
Using "deselectAllOnScheduleClick" set to true, does not unfortunately have the desired effect.
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Wed Aug 09, 2023 5:59 pm
by marcio
Hey,
That looks like a bug, created a ticket for that https://github.com/bryntum/support/issues/7289
Thanks for the report.
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Thu Aug 24, 2023 10:49 am
by paul.manole
I saw the ticket was closed now and I tested deselectAllOnScheduleClick
myself and it worked.
The only way to deselect is to click and drag on an empty region.
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Thu Aug 24, 2023 11:44 am
by alex.l
Hi Paul,
What is expected behaviour?
Re: [REACT] How to prevent selection clear when clicking on Scheduler
Posted: Wed Aug 30, 2023 12:16 pm
by paul.manole
alex.l wrote: ↑Thu Aug 24, 2023 11:44 am
Hi Paul,
What is expected behaviour?
It worked as expected when I tested (see my previous reply). deselectAllOnScheduleClick
seemed to be fixed now. We haven't implemented this in production yet but I don't expected any issues now.
Thanks for all your hard work!