Our blazing fast Grid component built with pure JavaScript


Post by miltonarcos »

My grid is set at 15 min increments and I have constrainDragToTimeSlot set to true. It works fine if times are at 15 minute increments but if a time is for example, 8:20am, then when dragged it will move to 8:15am. Shouldn't constrainDragToTimeSlot keep the original time even after dragging?


Post by mats »

This looks like a bug yes, thanks for reporting!

https://github.com/bryntum/support/issues/1607


Post by paulbanks »

So, I can report bugs right here on the forum if I'll find any? I guess that's handy for you.


Post by mats »

Yep that’s very much appreciated!


Post by jandresampaio »

Doesn't seem to be working anymore...tried this on the recurrence example
https://bryntum.com/examples/scheduler/recurrence/

and

             scheduler.features.eventDrag.constrainDragToTimeSlot = false;

Still allows dragging the events...


Post by mats »

That's not what that flag does. To disable dragging:

             scheduler.features.eventDrag.disabled = true;

Post by laurah »

Hello,
Is this fixed? If I add these settings to that same example, it still allows me to drag the start or end date.

eventDrag: { disabled: false, constrainDragToTimeSlot: true}

Post by laurah »

I fixed this by setting the following on creation of each event:

resizable: false

.
Thanks


Post Reply