Our pure JavaScript Scheduler component


Post by doonamis »

I'm following this example to achive a drag&drop events scheduler:

https://www.bryntum.com/examples/scheduler/vue/javascript/drag-from-grid/dist/index.html

All works ok, but when dropping events from grid to scheduler I have problems it doesn't work

What it seems is while the event is draging the context.valid atribute is true
Once is dropped it is false so the event is not created

Is there something I'm missing?

Post by doonamis »

Also if for example I change this line from:

if (context.valid && target) {

to

if (target) {

This gives an error: "me.context.finalize is not a function"

Post by saki »

I have tested the example and it works as expected so the problem seems to be elsewhere. Post please your code so that we can run it and see what's happening.

Post by doonamis »

Hello, after some debugging the error seems to happen when the parent container of the scheduler has position: fixed & display:grid, I came with a workaroung meanwhile

Post by Maxim Gorkovsky »

Hello.
I tried to set mentioned styles in the online vue demo (with some additional for size and position), dragdrop still works.
.b-scheduler-container {
  position: fixed;
  display: grid
}
Can you provide runnable test case or steps to reproduce on online demo?

Post Reply