X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/examples/docs/output/Ext.calendar.EventRecord.html diff --git a/examples/docs/output/Ext.calendar.EventRecord.html b/examples/docs/output/Ext.calendar.EventRecord.html deleted file mode 100644 index 2bbdb553..00000000 --- a/examples/docs/output/Ext.calendar.EventRecord.html +++ /dev/null @@ -1,30 +0,0 @@ -
Package: | Ext.calendar |
Defined In: | EventRecord.js |
Class: | EventRecord |
Extends: | Object |
This is the Record specification for calendar event data used by the -CalendarPanel's underlying store. It can be overridden as -necessary to customize the fields supported by events, although the existing column names should -not be altered. If your model fields are named differently you should update the mapping -configs accordingly.
-The only required fields when creating a new event record instance are StartDate and -EndDate. All other fields are either optional are will be defaulted if blank.
-Here is a basic example for how to create a new record of this type:
rec = new Ext.calendar.EventRecord({
- StartDate: '2101-01-12 12:00:00',
- EndDate: '2101-01-12 13:30:00',
- Title: 'My cool event',
- Notes: 'Some notes'
-});
-If you have overridden any of the record's data mappings via the Ext.calendar.EventMappings object
-you may need to set the values using this alternate syntax to ensure that the fields match up correctly:var M = Ext.calendar.EventMappings;
-
-rec = new Ext.calendar.EventRecord();
-rec.data[M.StartDate.name] = '2101-01-12 12:00:00';
-rec.data[M.EndDate.name] = '2101-01-12 13:30:00';
-rec.data[M.Title.name] = 'My cool event';
-rec.data[M.Notes.name] = 'Some notes';
Method | Defined By | |
---|---|---|
EventRecord( [Object data ], [Object id ] )
- Parameters:
| EventRecord | |
EventRecord.reconfigure()
- :
- void Reconfigures the default record definition based on the current Ext.calendar.EventMappings object Reconfigures the default record definition based on the current Ext.calendar.EventMappings object Parameters:
| EventRecord |