Our powerful JS Calendar component


Post by jack123abc »

I tried to disable eventdrag feature with below code:

features : {
                eventDrag : {
                    // Prevent reassigning events using drag and drop
                    constrainDragToResource : true
                },
                eventTooltip: false,
            }

but meet this error:

3.png
3.png (30.1 KiB) Viewed 414 times

is there an example to show how to disable EventDrag ?


Post by Animal »

from https://www.bryntum.com/docs/calendar/api/Calendar/feature/CalendarDrag:

Screenshot 2021-10-28 at 09.01.06.png
Screenshot 2021-10-28 at 09.01.06.png (180.64 KiB) Viewed 410 times

So that needs a falsy value, not an object.


Post by jack123abc »

thanks, @Animal.


Post Reply