Hi Team,
When a resource is removed it is considered as a delete event. And the data we are getting in sync API is very limited, just remove object and id when we removed resources for the event. But we want this considered as an update and not just the id we want the entire event data. Is this Possible?
Support Forum
- Attachments
-
- remove resource.png (47.12 KiB) Viewed 408 times
Then I think you're looking for undo redo https://bryntum.com/products/calendar/examples/undoredo/
https://bryntum.com/products/calendar/docs/api/Scheduler/widget/UndoRedo
Is it what you are looking for?
No.
Have a look at our event editor, we have a dedicated Delete button to delete an event.
So when the user removed a resource we want to consider this as an update like the user changing name or event timings. Have a look at the image below
When an event name is updated I was able to see all the data not just whatever fields I was changing since we are using "writeAllFields: true".
When I removed a resource, which is an update here I was able to get only the id. I was not intended to delete the event, it's just an update. update the resource for that event to null.
Hi, our requirement is, the user can create an event without resources.The user creates an event with a resource and then edits the event and removes the resource. In the current Bryntum calendar, this is considered as delete, but as per our requirement, the user updates the event by removing resources. So in the database, the resource assigned to that event will be updated to null not the row delete.
Update is the database state we want to finish.
OK. What I think you mean is that when you deassign all resources from an event, the event is deleted.
This was fixed in 5.3.5: https://github.com/bryntum/support/issues/6732