I want to disable event wrapping from Vaadin Calendar
All these handlers are automatically installed when you create a new Calendar. If you want to disable some functions by default, you can simply set the corresponding handler to null. This will prevent functionality from appearing in the user interface. For example, if you set EventMoveHandler to null, the user will not be able to move events in the browser. → Book of Vaadin
I tried:
calendar.setHandler(null); calendar.setHandler((EventMoveHandler) null); calendar.setHandler((BaseEventMoveHandler) null); EventMoveHandler handler = null; calendar.setHandler(handler); BaseEventMoveHandler baseHandler = null; calendar.setHandler(baseHandler );
But nothing works. Any suggestion....?
This really works for me with Vaadin 7.4.5:
calendar.setHandler((EventMoveHandler)null); calendar.setHandler((EventResizeHandler)null);
, .
calendar.setReadOnly(true);
EDIT1: . , , , asmellado:
calendar.setReadOnly(true); calendar.setHandler((EventMoveHandler)null); calendar.setHandler((EventResizeHandler)null);
, setReadOnly, , .