Pan
Feature
Makes the scheduler's timeline pannable by dragging with the mouse. Try it out in the demo below.
// Enable Pan
const scheduler = new Scheduler({
features : {
pan : true,
eventDragCreate : false
}
});
This feature is disabled by default. For info on enabling it, see GridFeatures.
See also
- EventDragSelect - Drag-select events
- EventDragCreate - Drag to create events
- Scheduler - Scheduler widget
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Set to
falseto not pan horizontally when dragging in the time axis headerHas a corresponding runtime enableInHeader property.
-
Set to
falseto not pan horizontallyHas a corresponding runtime horizontal property.
-
Set to
falseto not pan verticallyHas a corresponding runtime vertical property.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of Pan class, or subclass thereof.
-
Set to
falseto not pan horizontally when dragging in the time axis headerHas a corresponding enableInHeader config.
-
Set to
falseto not pan horizontallyHas a corresponding horizontal config.
-
Yields
trueif a pan gesture is in process. -
Set to
falseto not pan verticallyHas a corresponding vertical config.
-
Identifies an object as an instance of Pan class, or subclass thereof.