SimpleEventEdit
Feature
Feature that displays a text field to edit the event name.
You can control the flow of this by listening to the events relayed by this class from the underlying Editor.
To use this feature, you also need to disable the built-in default editing feature:
const scheduler = new Scheduler({
features : {
eventEdit : false,
simpleEventEdit : true
}
});
This feature is disabled by default. For info on enabling it, see GridFeatures.
Useful configs and functions
| Member | Description |
|---|---|
| beforeStart | Fires before inline editing starts |
| start | Fires when editing starts |
| beforeComplete | Fires before editing completes |
| complete | Fires when editing completes |
| beforeCancel | Fires before editing is cancelled |
| cancel | Fires when editing is cancelled |
See also
- EventEdit - Full event editor dialog
- EventModel - Event data model
- Editor - Base editor widget
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
The editor configuration, where you can control which widget to show
-
The EventModel field to edit
-
The event that shall trigger showing the editor. Defaults to
eventDblClick, set to''ornullto disable editing of existing events.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of SimpleEventEdit class, or subclass thereof.
-
The current EventModel record, which is being edited by the event editor.
-
Identifies an object as an instance of SimpleEventEdit class, or subclass thereof.