Our powerful JS Calendar component


Post by Maxim Gorkovsky »

This can be solved using internal configs. You can see them if you enable this checkbox:

Снимок экрана 2021-10-07 114955.png
Снимок экрана 2021-10-07 114955.png (26.55 KiB) Viewed 390 times
features : {
  externalEventSource : {
    draggable : {
      dragStart(context) {
        // return false to prevent the drag
      }
    }
  }
}

context is an instance of https://bryntum.com/docs/calendar/#Core/util/drag/DragContext


Post by SemFA »

Hey Maxim,

Thank you very much. This works :). The checkbox also allows us to look into the Draggable mixin and the dragStart template allows us to prevent the drag.

Thank you both for the help, we will be able to continue with development.

Sem.


Post Reply