Properties Methods Events Direct Link

# Class Ext.calendar.EventEditForm

Package: | Ext.calendar
Defined In: | EventEditForm.js
Class: | EventEditForm
Extends: | Object

A custom form used for detailed editing of events.

This is pretty much a standard form that is simply pre-configured for the options needed by the calendar components. It is also configured to automatically bind records of type Ext.calendar.EventRecord to and from the form.

This form also provides custom events specific to the calendar so that other calendar components can be easily notified when an event has been edited via this component.

The default configs are as follows:

    labelWidth: 65,
        title: 'Event Form',
        titleTextAdd: 'Add Event',
        titleTextEdit: 'Edit Event',
        bodyStyle: 'background:transparent;padding:20px 20px 10px;',
        border: false,
        buttonAlign: 'center',
        autoHeight: true,
        cls: 'ext-evt-edit-form',

## Public Properties

This class has no public properties.

## Public Methods

This class has no public methods.

## Public Events

Event | Defined By
--- | ---

eventadd : ( `Ext.calendar.EventEditForm this`, `Ext.calendar.EventRecord rec` )
Fires after a new event is added
Fires after a new event is added
Listeners will be called with the following arguments:

- `this` : Ext.calendar.EventEditForm
- `rec` : Ext.calendar.EventRecord
  The new record that was added

EventEditForm

eventcancel : ( `Ext.calendar.EventEditForm this`, `Ext.calendar.EventRecord rec` )
Fires after an event add/edit operation is canceled by the user and no store update took place
Fires after an event add/edit operation is canceled by the user and no store update took place
Listeners will be called with the following arguments:

- `this` : Ext.calendar.EventEditForm
- `rec` : Ext.calendar.EventRecord
  The new record that was canceled

EventEditForm

eventdelete : ( `Ext.calendar.EventEditForm this`, `Ext.calendar.EventRecord rec` )
Fires after an event is deleted
Fires after an event is deleted
Listeners will be called with the following arguments:

- `this` : Ext.calendar.EventEditForm
- `rec` : Ext.calendar.EventRecord
  The new record that was deleted

EventEditForm

eventupdate : ( `Ext.calendar.EventEditForm this`, `Ext.calendar.EventRecord rec` )
Fires after an existing event is updated
Fires after an existing event is updated
Listeners will be called with the following arguments:

- `this` : Ext.calendar.EventEditForm
- `rec` : Ext.calendar.EventRecord
  The new record that was updated

EventEditForm