Hi,
I am trying to figure out the differences between these two demos:
1: https://www.bryntum.com/examples/schedul ... iguration/
2: https://www.bryntum.com/examples/schedul ... les/events
Steps to take to see the difference:
- Start dragging an event
- Drag the event to the edge of the scheduler
- Make sure that part of the event is dragged outside the visible range (i.e. the end date is later than the end date of the scheduler)
- Drop the event
Result for demo 1: The event is actually dropped at that time
Result for demo 2: The event bounces back to the original location
What configuration determines the behavior for demo #1? This is the behavior I want but I need to figure out how to configure this. Is this configuration on the scheduler level or perhaps time axis?
Any help would be appreciated.
Support Forum
Hello.
Normally you would get behavior from first example. Second one differs, because we use custom, non-continuous time axis. Drag drop plugin will try to calculate new start/end for event, but in case of non-continuous time axis it cannot calculate dates properly when you drag outside of view.
Time axis will become non-continuous when you:
1) filter it
2) set such config directly
Normally you would get behavior from first example. Second one differs, because we use custom, non-continuous time axis. Drag drop plugin will try to calculate new start/end for event, but in case of non-continuous time axis it cannot calculate dates properly when you drag outside of view.
Time axis will become non-continuous when you:
1) filter it
2) set such config directly
We discussed this behavior locally and decided to improve it. Here is ticket: https://app.assembla.com/spaces/bryntum/tickets/4099
Thank you for the feedback.
Thank you for the feedback.
Hi,
After discussing this internally it seems we do need a non-continuous time axis in some cases (hiding weekend, or hiding night times in day view). Would there be another way to make it possible to drag outside of the visible range without making the time axis continuous?
Thank you very much in advance.
Tom
After discussing this internally it seems we do need a non-continuous time axis in some cases (hiding weekend, or hiding night times in day view). Would there be another way to make it possible to drag outside of the visible range without making the time axis continuous?
Thank you very much in advance.
Tom