1 <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.calendar.EventEditForm-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.calendar.EventEditForm-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.calendar.EventEditForm-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="bookmark" href="../docs/?class=Ext.calendar.EventEditForm"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><h1>Class <a href="source/EventEditForm.html#cls-Ext.calendar.EventEditForm">Ext.calendar.EventEditForm</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext.calendar</td></tr><tr><td class="label">Defined In:</td><td class="hd-info"><a href="source/EventEditForm.html#cls-Ext.calendar.EventEditForm">EventEditForm.js</a></td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/EventEditForm.html#cls-Ext.calendar.EventEditForm">EventEditForm</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr></table><div class="description"><p>A custom form used for detailed editing of events.</p>
2 <p>This is pretty much a standard form that is simply pre-configured for the options needed by the
3 calendar components. It is also configured to automatically bind records of type <a href="output/Ext.calendar.EventRecord.html" ext:cls="Ext.calendar.EventRecord">Ext.calendar.EventRecord</a>
4 to and from the form.</p>
5 <p>This form also provides custom events specific to the calendar so that other calendar components can be easily
6 notified when an event has been edited via this component.</p>
7 <p>The default configs are as follows:</p><pre><code>labelWidth: 65,
8 title: <em>'Event Form'</em>,
9 titleTextAdd: <em>'Add Event'</em>,
10 titleTextEdit: <em>'Edit Event'</em>,
11 bodyStyle: <em>'background:transparent;padding:20px 20px 10px;'</em>,
13 buttonAlign: <em>'center'</em>,
15 cls: <em>'ext-evt-edit-form'</em>,</code></pre></div><div class="hr"></div><a id="Ext.calendar.EventEditForm-props"></a><h2>Public Properties</h2><div class="no-members">This class has no public properties.</div><a id="Ext.calendar.EventEditForm-methods"></a><h2>Public Methods</h2><div class="no-members">This class has no public methods.</div><a id="Ext.calendar.EventEditForm-events"></a><h2>Public Events</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Event</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.calendar.EventEditForm-eventadd"></a><b><a href="source/EventEditForm.html#event-Ext.calendar.EventEditForm-eventadd">eventadd</a></b> :
16 ( <code>Ext.calendar.EventEditForm this</code>, <code>Ext.calendar.EventRecord rec</code> )
17 <div class="mdesc"><div class="short">Fires after a new event is added</div><div class="long">Fires after a new event is added<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.calendar.EventEditForm<div class="sub-desc"></div></li><li><code>rec</code> : Ext.calendar.EventRecord<div class="sub-desc">The new <a href="output/Ext.calendar.EventRecord.html" ext:cls="Ext.calendar.EventRecord">record</a> that was added</div></li></ul></div></div></div></td><td class="msource">EventEditForm</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.calendar.EventEditForm-eventcancel"></a><b><a href="source/EventEditForm.html#event-Ext.calendar.EventEditForm-eventcancel">eventcancel</a></b> :
18 ( <code>Ext.calendar.EventEditForm this</code>, <code>Ext.calendar.EventRecord rec</code> )
19 <div class="mdesc"><div class="short">Fires after an event add/edit operation is canceled by the user and no store update took place</div><div class="long">Fires after an event add/edit operation is canceled by the user and no store update took place<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.calendar.EventEditForm<div class="sub-desc"></div></li><li><code>rec</code> : Ext.calendar.EventRecord<div class="sub-desc">The new <a href="output/Ext.calendar.EventRecord.html" ext:cls="Ext.calendar.EventRecord">record</a> that was canceled</div></li></ul></div></div></div></td><td class="msource">EventEditForm</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.calendar.EventEditForm-eventdelete"></a><b><a href="source/EventEditForm.html#event-Ext.calendar.EventEditForm-eventdelete">eventdelete</a></b> :
20 ( <code>Ext.calendar.EventEditForm this</code>, <code>Ext.calendar.EventRecord rec</code> )
21 <div class="mdesc"><div class="short">Fires after an event is deleted</div><div class="long">Fires after an event is deleted<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.calendar.EventEditForm<div class="sub-desc"></div></li><li><code>rec</code> : Ext.calendar.EventRecord<div class="sub-desc">The new <a href="output/Ext.calendar.EventRecord.html" ext:cls="Ext.calendar.EventRecord">record</a> that was deleted</div></li></ul></div></div></div></td><td class="msource">EventEditForm</td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.calendar.EventEditForm-eventupdate"></a><b><a href="source/EventEditForm.html#event-Ext.calendar.EventEditForm-eventupdate">eventupdate</a></b> :
22 ( <code>Ext.calendar.EventEditForm this</code>, <code>Ext.calendar.EventRecord rec</code> )
23 <div class="mdesc"><div class="short">Fires after an existing event is updated</div><div class="long">Fires after an existing event is updated<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>this</code> : Ext.calendar.EventEditForm<div class="sub-desc"></div></li><li><code>rec</code> : Ext.calendar.EventRecord<div class="sub-desc">The new <a href="output/Ext.calendar.EventRecord.html" ext:cls="Ext.calendar.EventRecord">record</a> that was updated</div></li></ul></div></div></div></td><td class="msource">EventEditForm</td></tr></tbody></table></div>