Our pure JavaScript Scheduler component


Post by tomerPlanit »

Hey there.
We're working with Bryntum Scheduler on an Angular 9 project.

I am trying to drop events from scheduler to other elements (that are not bryntum schedulers).
In order to achieve this behavior, we've used Bryntum DragHelper.

We've found a problem is when the drop action is async (we're using async, we haven't tested the sync option to see if the problem occurs) and I have scroll period that is hidden by the Resource Column- the finalize function does not work.

I added a demo for you that I created based on angular 8 example.

For check it you need scroll right the scheduler, and drop event to red zone.

Attachments
src.rar
(8.93 KiB) Downloaded 40 times

Post by pmiklashevich »

Hello!

Thank you for the testcase! Dragging an event outside the scheduler (except the case when you drag to another scheduler) is not supported out of the box. I've opened a feature request to show how to do it. https://github.com/bryntum/support/issues/1954 I'm afraid it cannot be done in scope of the forum support. Please consider our professional services https://www.bryntum.com/services/

In your test case 2 features are processing the drag simultaneously. If you disable the EventDrag feature, you'll see only your feature affects the drag. But then you will have to process all the drag and drop cases on your own. And the downside is that built-in event drag will not work. Therefore I would recommend you to extend the EventDrag feature to implement your functionality. Please also pay attention to the https://www.bryntum.com/docs/scheduler/#Scheduler/feature/EventDrag#config-dragHelperConfig

There is another problem you highlighted. When the drop happens outside the scheduler, it is considered as a valid drop by the EventDrag feature and it moves the event to a new place behind the resource cells. I've registered the bug here: https://github.com/bryntum/support/issues/1953 Please subscribe to get notified when it's fixed.

Best regards,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post by oleh »

Hello!

We also need to drag events out of the scheduler to another angular component.
Is it possible to add this feature to the scheduler?
How long could it take to implement?
Who can we contact about this feature request?


Post by alex.l »

Hi oleh,

We already have a ticket for that: https://github.com/bryntum/support/issues/1954
Please subscribe on ticket updates and you will be notified when we put in on the roadmap to the nearest releases.
You can also sponsor this feature to push it, contact our Sales here: https://www.bryntum.com/services/

All the best,
Alex

All the best,
Alex


Post by oleh »

Thank you, Alex, we will think about it


Post Reply