Our pure JavaScript Scheduler component


Post by Softhouse »

Hi!
We are using assignment store to enable events being shown in multiple resources.
But I noticed that when adding the beforeUpdate listener and returning false from it, assignments are still changed.
I added a logger in the listener so I know it is called when making changes to the assignments.

Am I missing something or could it be a bug in the function?

We are using Bryntum 5.2.1 with Typescript.

I have attached a test example where I recreated the issue.
To recreate the issue open the edit window for the event and change its resources.

Thanks in advance!

Attachments
bryntum-scheduler-example_upload.zip
(354.28 KiB) Downloaded 37 times

Post by tasnim »

Hi,
Thanks for reporting. Unfortunately, It's not supported yet. I've created a ticket for that here it is https://github.com/bryntum/support/issues/5519

Good Luck :),
Tasnim


Post by Softhouse »

Hi again!
Do you have any timeline on when this could be resolved?
We would appreciate it if it was solved :)


Post by tasnim »

Unfortunately, It's currently not on our roadmap. So can't say when it's going to be fixed. But if you need this urgently then you could contact our sales here https://bryntum.com/services/ for a feature sponsorship.

Good Luck :),
Tasnim


Post by Softhouse »

Thanks for the response.
It would be good if the documentation would be updated to be in line with the functionality.
Right now it is not tagged with "PREVENTABLE" but in the description it is described as preventable by returning false.


Post by mats »

We'll update docs to not state it being preventable. Can you instead try using https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventEdit#event-beforeEventSave to validate your changes in the event editor?


Post by Softhouse »

Thanks for the suggestion. Will try it and see if that could solve our issue.


Post Reply