CalendarViewMonthView
Package: | Ext.ensible.cal |
Defined In: | MonthView.js |
Class: | MonthView |
Subclasses: | DayHeaderView, MultiWeekView |
Extends: | CalendarView |
Displays a calendar view by month. This class does not usually need ot be used directly as you can use a CalendarPanel to manage multiple calendar views at once including the month view.
Config Options | Defined By | |
---|---|---|
calendarStore : Ext.data.Store The store which is bound to this calendar and contains CalendarRecords.
This is an optional store that provides mult... The store which is bound to this calendar and contains CalendarRecords.
This is an optional store that provides multi-calendar (and multi-color) support. If available an additional field for selecting the
calendar in which to save an event will be shown in the edit forms. If this store is not available then all events will simply use
the default calendar (and color). | CalendarView | |
dateParamEnd : String The param name representing the end date of the current view range that's passed in requests to retrieve events
when... The param name representing the end date of the current view range that's passed in requests to retrieve events
when loading the view (defauts to 'end'). | CalendarView | |
dateParamFormat : String The format to use for date parameters sent with requests to retrieve events for the calendar (defaults to 'Y-m-d', e.... The format to use for date parameters sent with requests to retrieve events for the calendar (defaults to 'Y-m-d', e.g. '2010-10-31') | CalendarView | |
dateParamStart : String The param name representing the start date of the current view range that's passed in requests to retrieve events
wh... The param name representing the start date of the current view range that's passed in requests to retrieve events
when loading the view (defauts to 'start'). | CalendarView | |
ddCreateEventText : String The text to display inside the drag proxy while dragging over the calendar to create a new event (defaults to
'Crea... The text to display inside the drag proxy while dragging over the calendar to create a new event (defaults to
'Create event for {0}' where {0} is a date range supplied by the view) | CalendarView | |
ddMoveEventText : String The text to display inside the drag proxy while dragging an event to reposition it (defaults to
'Move event to {0}'... The text to display inside the drag proxy while dragging an event to reposition it (defaults to
'Move event to {0}' where {0} is the updated event start date/time supplied by the view) | CalendarView | |
ddResizeEventText : String The string displayed to the user in the drag proxy while dragging the resize handle of an event (defaults to
'Updat... The string displayed to the user in the drag proxy while dragging the resize handle of an event (defaults to
'Update event to {0}' where {0} is the updated event start-end range supplied by the view). Note that
this text is only used in views
that allow resizing of events. | CalendarView | |
defaultEventTitleText : String The default text to display as the title of an event that has a null or empty string title value (defaults to '(No ti... The default text to display as the title of an event that has a null or empty string title value (defaults to '(No title)') | CalendarView | |
detailsTitleDateFormat : String The date format for the title of the details panel that shows when there are hidden events and the "more" link
is c... The date format for the title of the details panel that shows when there are hidden events and the "more" link
is clicked (defaults to 'F j'). | MonthView | |
editModal : Boolean True to show the default event editor window modally over the entire page, false to allow user interaction with the p... True to show the default event editor window modally over the entire page, false to allow user interaction with the page
while showing the window (the default). Note that if you replace the default editor window with some alternate component this
config will no longer apply. | CalendarView | |
enableAddFx : Boolean True to enable a visual effect on adding a new event (the default), false to disable it. Note that if
enableFx is f... | CalendarView | |
enableContextMenus : Boolean True to enable automatic right-click context menu handling in the calendar views (the default), false to disable
the... True to enable automatic right-click context menu handling in the calendar views (the default), false to disable
them. Different context menus are provided when clicking on events vs. the view background. | CalendarView | |
enableDD : Boolean True to enable drag and drop in the calendar view (the default), false to disable it | CalendarView | |
enableEditDetails : Boolean True to show a link on the event edit window to allow switching to the detailed edit form (the default), false to rem... True to show a link on the event edit window to allow switching to the detailed edit form (the default), false to remove the
link and disable detailed event editing. | CalendarView | |
enableFx : Boolean Determines whether or not visual effects for CRUD actions are enabled (defaults to true). If this is false
it will o... Determines whether or not visual effects for CRUD actions are enabled (defaults to true). If this is false
it will override any values for enableAddFx, enableUpdateFx or enableRemoveFx and
all animations will be disabled. | CalendarView | |
enableRemoveFx : Boolean True to enable a visual effect on removing an event (the default), false to disable it. Note that if
enableFx is fa... True to enable a visual effect on removing an event (the default), false to disable it. Note that if
enableFx is false it will override this value. The specific effect that runs is defined in the
doRemoveFx method. | CalendarView | |
enableUpdateFx : Boolean True to enable a visual effect on updating an event, false to disable it (the default). Note that if
enableFx is fa... True to enable a visual effect on updating an event, false to disable it (the default). Note that if
enableFx is false it will override this value. The specific effect that runs is defined in the
doUpdateFx method. | CalendarView | |
eventStore : Ext.data.Store The store which is bound to this calendar and contains EventRecords.
Note that this is an alias to the default store... The store which is bound to this calendar and contains EventRecords.
Note that this is an alias to the default store config (to differentiate that from the optional calendarStore
config), and either can be used interchangeably. | CalendarView | |
monitorResize : Boolean True to monitor the browser's resize event (the default), false to ignore it. If the calendar view is rendered
into ... True to monitor the browser's resize event (the default), false to ignore it. If the calendar view is rendered
into a fixed-size container this can be set to false. However, if the view can change dimensions (e.g., it's in
fit layout in a viewport or some other resizable container) it is very important that this config is true so that
any resize event propagates properly to all subcomponents and layouts get recalculated properly. | CalendarView | |
moreText : String Deprecated. Please override getMoreText instead.
The text to display in a day box when there are more events than ca... Deprecated. Please override getMoreText instead. The text to display in a day box when there are more events than can be displayed and a link is provided to show a popup window with all events for that day (defaults to '+{0} more...', where {0} will be replaced by the number of additional events that are not currently displayed for the day). | MonthView | |
nextMonthCls : String A CSS class to apply to any days that fall in the month after the current view's month (defaults to 'ext-cal-day-next... A CSS class to apply to any days that fall in the month after the current view's month (defaults to 'ext-cal-day-next' which
highlights next month days in light gray). To disable this styling set the value to null or ''. | CalendarView | |
prevMonthCls : String A CSS class to apply to any days that fall in the month previous to the current view's month (defaults to 'ext-cal-da... A CSS class to apply to any days that fall in the month previous to the current view's month (defaults to 'ext-cal-day-prev' which
highlights previous month days in light gray). To disable this styling set the value to null or ''. | CalendarView | |
readOnly : Boolean True to prevent clicks on events or the view from providing CRUD capabilities, false to enable CRUD (the default). | CalendarView | |
showHeader : Boolean True to display a header beneath the navigation bar containing the week names above each week's column, false not to ... True to display a header beneath the navigation bar containing the week names above each week's column, false not to
show it and instead display the week names in the first row of days in the calendar (defaults to false). | MonthView | |
showTime : Boolean True to display the current time in today's box in the calendar, false to not display it (defaults to true) | MonthView | |
showTodayText : Boolean True to display the todayText string in today's box in the calendar, false to not display it (defaults to true) | MonthView | |
showWeekLinks : Boolean True to display an extra column before the first day in the calendar that links to the view
for each individual week... True to display an extra column before the first day in the calendar that links to the view
for each individual week, false to not show it (defaults to false). If true, the week links can also contain the week
number depending on the value of showWeekNumbers. | MonthView | |
showWeekNumbers : Boolean True to show the week number for each week in the calendar in the week link column, false to show nothing (defaults t... True to show the week number for each week in the calendar in the week link column, false to show nothing (defaults to false).
Note that if showWeekLinks is false this config will have no affect even if true. | MonthView | |
spansHavePriority : Boolean Allows switching between two different modes of rendering events that span multiple days. When true,
span events are... Allows switching between two different modes of rendering events that span multiple days. When true,
span events are always sorted first, possibly at the expense of start dates being out of order (e.g.,
a span event that starts at 11am one day and spans into the next day would display before a non-spanning
event that starts at 10am, even though they would not be in date order). This can lead to more compact
layouts when there are many overlapping events. If false (the default), events will always sort by start date
first which can result in a less compact, but chronologically consistent layout. | CalendarView | |
startDay : Number The 0-based index for the day on which the calendar week begins (0=Sunday, which is the default) | CalendarView | |
suppressBrowserContextMenu : Boolean When enableContextMenus is true, the browser context menu will automatically be suppressed whenever a
custom context... When enableContextMenus is true, the browser context menu will automatically be suppressed whenever a
custom context menu is displayed. When this option is true, right-clicks on elements that do not have a custom
context menu will also suppress the default browser context menu (no menu will be shown at all). When false,
the browser context menu will still show if the right-clicked element has no custom menu (this is the default). | CalendarView | |
todayCls : String A CSS class to apply to the current date when it is visible in the current view (defaults to 'ext-cal-day-today' whic... A CSS class to apply to the current date when it is visible in the current view (defaults to 'ext-cal-day-today' which
highlights today in yellow). To disable this styling set the value to null or ''. | CalendarView | |
todayText : String The text to display in the current day's box in the calendar when showTodayText is true (defaults to 'Today') | CalendarView | |
trackMouseOver : Boolean Whether or not the view tracks and responds to the browser mouseover event on contained elements (defaults to
true).... Whether or not the view tracks and responds to the browser mouseover event on contained elements (defaults to
true). If you don't need mouseover event highlighting you can disable this. | CalendarView | |
weekLinkOverClass : String The CSS class name applied when the mouse moves over a week link element (only applies when showWeekLinks is true,
d... The CSS class name applied when the mouse moves over a week link element (only applies when showWeekLinks is true,
defaults to 'ext-week-link-over'). | MonthView | |
weekendCls : String A CSS class to apply to weekend days in the current view (defaults to 'ext-cal-day-we' which highlights weekend days ... A CSS class to apply to weekend days in the current view (defaults to 'ext-cal-day-we' which highlights weekend days in light blue).
To disable this styling set the value to null or ''. | CalendarView |
Method | Defined By | |
---|---|---|
MonthView( Object config )
Parameters:
| MonthView | |
deleteEvent( Object rec )
:
voidDelete the specified event. Delete the specified event. Parameters:
| CalendarView | |
disableStoreEvents()
:
CalendarView Disable store event monitoring within this view. Note that if you do this the view will no longer
refresh itself aut... Disable store event monitoring within this view. Note that if you do this the view will no longer
refresh itself automatically when CRUD actions occur. To enable store events see enableStoreEvents. Parameters:
| CalendarView | |
dismissEventEditor( [String dismissMethod ] )
:
Ext.ensible.cal.CalendarViewDismiss the currently configured event editor view (by default the shared instance of
EventEditWindow, which will b... Dismiss the currently configured event editor view (by default the shared instance of
EventEditWindow, which will be hidden). Parameters:
| CalendarView | |
doAddFx( Ext.CompositeElement el , Object options )
:
voidProvides the element effect(s) to run after an event is added. The method is passed a Ext.CompositeElement
that cont... Provides the element effect(s) to run after an event is added. The method is passed a Ext.CompositeElement
that contains one or more elements in the DOM representing the event that was added. The default
effect is fadeIn. Note that this method will only be called when
enableAddFx is true (it is true by default). Parameters:
| CalendarView | |
doRemoveFx( Ext.CompositeElement el , Object options )
:
voidProvides the element effect(s) to run after an event is removed. The method is passed a Ext.CompositeElement
that co... Provides the element effect(s) to run after an event is removed. The method is passed a Ext.CompositeElement
that contains one or more elements in the DOM representing the event that was removed. The default
effect is fadeOut. Note that this method will only be called when
enableRemoveFx is true (it is true by default). Parameters:
| CalendarView | |
doUpdateFx( Ext.CompositeElement el , Object options )
:
voidProvides the element effect(s) to run after an event is updated. The method is passed a Ext.CompositeElement
that co... Provides the element effect(s) to run after an event is updated. The method is passed a Ext.CompositeElement
that contains one or more elements in the DOM representing the event that was updated. The default
effect is highlight. Note that this method will only be called when
enableUpdateFx is true (it is false by default). Parameters:
| CalendarView | |
enableStoreEvents()
:
CalendarView Enable store event monitoring within this view if disabled by disbleStoreEvents. Enable store event monitoring within this view if disabled by disbleStoreEvents. Parameters:
| CalendarView | |
getEventBodyMarkup()
:
String Returns a string of HTML template markup to be used as the body portion of the event template created
by getEventTem... Returns a string of HTML template markup to be used as the body portion of the event template created
by getEventTemplate. This provides the flexibility to customize what's in the body without
having to override the entire XTemplate. This string can include any valid Ext.Template code, and
any data tokens accessible to the containing event template can be referenced in this string. Parameters:
| CalendarView | |
getEventClass( Ext.ensible.cal.EventRecord rec , Boolean isAllDay , Object templateData , Ext.data.Store store )
:
StringThis is undefined by default, but can be implemented to allow custom CSS classes and template data to be
conditional... This is undefined by default, but can be implemented to allow custom CSS classes and template data to be
conditionally applied to events during rendering. This function will be called with the parameter list shown
below and is expected to return the CSS class name (or empty string '' for none) that will be added to the
event element's wrapping div. To apply multiple class names, simply return them space-delimited within the
string (e.g., 'my-class another-class'). Example usage, applied in a CalendarPanel config:
Parameters:
| CalendarView | |
getEventEls( String eventId )
:
Ext.CompositeElementParameters:
| CalendarView | |
getEventIdFromEl( String/Element/HTMLElement el )
:
voidRetrieve an Event object's id from its corresponding node in the DOM. Retrieve an Event object's id from its corresponding node in the DOM. Parameters:
| CalendarView | |
getEventSelectorCls( String eventId , Boolean forSelect )
:
StringParameters:
| CalendarView | |
getEventTemplate()
:
Ext.XTemplate Returns the XTemplate that is bound to the calendar's event store (it expects records of type
Ext.ensible.cal.EventR... Returns the XTemplate that is bound to the calendar's event store (it expects records of type Ext.ensible.cal.EventRecord) to populate the calendar views with events. Internally this method by default generates different markup for browsers that support CSS border radius and those that don't. This method can be overridden as needed to customize the markup generated. Note that this method calls getEventBodyMarkup to retrieve the body markup for events separately from the surrounding container markup. This provides the flexibility to customize what's in the body without having to override the entire XTemplate. If you do override this method, you should make sure that your overridden version also does the same. Parameters:
| CalendarView | |
getMoreText( Integer numEvents )
:
StringReturns the text to display in a day box when there are more events than can be displayed and a link is
provided to... Returns the text to display in a day box when there are more events than can be displayed and a link is provided to show a popup window with all events for that day (defaults to '+{0} more...', where {0} will be replaced by the number of additional events that are not currently displayed for the day). Parameters:
| MonthView | |
getStartDate()
:
Date Returns the start date of the view, as set by setStartDate. Note that this may not
be the first date displayed in t... Returns the start date of the view, as set by setStartDate. Note that this may not
be the first date displayed in the rendered calendar -- to get the start and end dates displayed
to the user use getViewBounds. Parameters:
| CalendarView | |
getStoreDateParams()
:
Object Returns an object containing the start and end dates to be passed as params in all calls
to load the event store. Th... Returns an object containing the start and end dates to be passed as params in all calls
to load the event store. The param names are customizable using dateParamStart
and dateParamEnd and the date format used in requests is defined by dateParamFormat.
If you need to add additional parameters to be sent when loading the store see getStoreParams. Parameters:
| CalendarView | |
getStoreParams()
:
Object Returns an object containing all key/value params to be passed when loading the event store.
By default the returned... Returns an object containing all key/value params to be passed when loading the event store.
By default the returned object will simply be the same object returned by getStoreDateParams,
but this method is intended to be overridden if you need to pass anything in addition to start and end dates.
See the inline code comments when overriding for details. Parameters:
| CalendarView | |
getViewBounds()
:
Object Returns the start and end boundary dates currently displayed in the view. The method
returns an object literal that ... Returns the start and end boundary dates currently displayed in the view. The method
returns an object literal that contains the following properties:
Parameters:
| CalendarView | |
highlightEvent( Ext.CompositeElement els , [Object color ], [Object o ] )
:
voidVisually highlights an event using Ext.Fx.highlight config options. Visually highlights an event using Ext.Fx.highlight config options. Parameters:
| CalendarView | |
isToday()
:
Boolean Returns true if the view is currently displaying today's date, else false. Returns true if the view is currently displaying today's date, else false. Parameters:
| CalendarView | |
moveDays( Number value )
:
DateShifts the view by the passed number of days relative to the currently set date Shifts the view by the passed number of days relative to the currently set date Parameters:
| CalendarView | |
moveEvent( Object rec , Object dt )
:
voidMove the event to a new start date, preserving the original event duration. Move the event to a new start date, preserving the original event duration. Parameters:
| CalendarView | |
moveMonths( Number value )
:
DateShifts the view by the passed number of months relative to the currently set date Shifts the view by the passed number of months relative to the currently set date Parameters:
| CalendarView | |
moveNext()
:
Date Updates the view to the next consecutive date(s) Updates the view to the next consecutive date(s) Parameters:
| CalendarView | |
movePrev()
:
Date Updates the view to the previous consecutive date(s) Updates the view to the previous consecutive date(s) Parameters:
| CalendarView | |
moveTo( Date dt )
:
voidUpdates the view to contain the passed date Updates the view to contain the passed date Parameters:
| CalendarView | |
moveToday()
:
Date Updates the view to show today Updates the view to show today Parameters:
| CalendarView | |
moveWeeks( Number value )
:
DateShifts the view by the passed number of weeks relative to the currently set date Shifts the view by the passed number of weeks relative to the currently set date Parameters:
| CalendarView | |
refresh( Boolean reloadData )
:
voidRefresh the current view, optionally reloading the event store also. While this is normally
managed internally on an... Refresh the current view, optionally reloading the event store also. While this is normally
managed internally on any navigation and/or CRUD action, there are times when you might want
to refresh the view manually (e.g., if you'd like to reload using different params). Parameters:
| CalendarView | |
reloadStore( [Object options ] )
:
voidReloads the view's underlying event store using the params returned from getStoreParams.
Reloading the store is typi... Reloads the view's underlying event store using the params returned from getStoreParams.
Reloading the store is typically managed automatically by the view itself, but the method is
available in case a manual reload is ever needed. Parameters:
| CalendarView | |
setCalendarStore( Ext.data.Store store )
:
voidSets the calendar store used by the calendar (contains records of type CalendarRecord). Sets the calendar store used by the calendar (contains records of type CalendarRecord). Parameters:
| CalendarView | |
setStartDate( Date dt )
:
voidSets the start date used to calculate the view boundaries to display. The displayed view will be the
earliest and l... Sets the start date used to calculate the view boundaries to display. The displayed view will be the
earliest and latest dates that match the view requirements and contain the date passed to this function. Parameters:
| CalendarView | |
setStore( Ext.data.Store store )
:
voidSets the event store used by the calendar to display events. Sets the event store used by the calendar to display events. Parameters:
| CalendarView | |
showEventEditor( Ext.ensible.cal.EventRecord rec , Ext.Element/HTMLNode animateTarget )
:
Ext.ensible.cal.CalendarViewShow the currently configured event editor view (by default the shared instance of
EventEditWindow). Show the currently configured event editor view (by default the shared instance of
EventEditWindow). Parameters:
| CalendarView |
Event | Defined By | |
---|---|---|
beforedatechange :
( Ext.ensible.cal.CalendarView this , Date startDate , Date newStartDate , Date viewStart , Date viewEnd )
Fires before the start date of the view changes, giving you an opportunity to save state or anything else you may nee... Fires before the start date of the view changes, giving you an opportunity to save state or anything else you may need
to do prior to the UI view changing. This is a cancelable event, so returning false from a handler will cancel both the
view change and the setting of the start date. Listeners will be called with the following arguments:
| CalendarView | |
beforeeventdelete :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , Ext.Element el )
Fires before an event is deleted by the user. This is a cancelable event, so returning false from a handler
will ca... Fires before an event is deleted by the user. This is a cancelable event, so returning false from a handler
will cancel the delete operation. Listeners will be called with the following arguments:
| CalendarView | |
beforeeventmove :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , Date dt )
Fires before an event element is dragged by the user and dropped in a new position. This is a cancelable event, so
... Fires before an event element is dragged by the user and dropped in a new position. This is a cancelable event, so
returning false from a handler will cancel the move operation. This could be useful for validating that a user can
only move events within a certain date range. Listeners will be called with the following arguments:
| CalendarView | |
datechange :
( Ext.ensible.cal.CalendarView this , Date startDate , Date viewStart , Date viewEnd )
Fires after the start date of the view has changed. If you need to cancel the date change you should handle the
bef... Fires after the start date of the view has changed. If you need to cancel the date change you should handle the
beforedatechange event and return false from your handler function. Listeners will be called with the following arguments:
| CalendarView | |
dayclick :
( Ext.ensible.cal.MonthView this , Date dt , Boolean allday , Ext.Element el )
Fires after the user clicks within the view container and not on an event element. This is a cancelable event, so
r... Fires after the user clicks within the view container and not on an event element. This is a cancelable event, so
returning false from a handler will cancel the click without displaying the event editor view. This could be useful
for validating that a user can only create events on certain days. Listeners will be called with the following arguments:
| MonthView | |
dayout :
( Ext.ensible.cal.CalendarView this , Date dt , Ext.Element el )
Fires when the mouse exits a day element Fires when the mouse exits a day element Listeners will be called with the following arguments:
| CalendarView | |
dayover :
( Ext.ensible.cal.CalendarView this , Date dt , Ext.Element el )
Fires while the mouse is over a day element Fires while the mouse is over a day element Listeners will be called with the following arguments:
| CalendarView | |
editdetails :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , Ext.Element el )
Fires when the user selects the option in this window to continue editing in the detailed edit form
(by default, an ... Fires when the user selects the option in this window to continue editing in the detailed edit form
(by default, an instance of Ext.ensible.cal.EventEditForm. Handling code should hide this window
and transfer the current event record to the appropriate instance of the detailed form by showing it
and calling loadRecord. Listeners will be called with the following arguments:
| CalendarView | |
eventadd :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec )
Fires after a new event has been added to the underlying store Fires after a new event has been added to the underlying store Listeners will be called with the following arguments:
| CalendarView | |
eventcancel :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec )
Fires after an event add/edit operation has been canceled by the user and no store update took place Fires after an event add/edit operation has been canceled by the user and no store update took place Listeners will be called with the following arguments:
| CalendarView | |
eventclick :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , HTMLNode el )
Fires after the user clicks on an event element. This is a cancelable event, so returning false from a
handler will... Fires after the user clicks on an event element. This is a cancelable event, so returning false from a
handler will cancel the click without displaying the event editor view. This could be useful for
validating the rules by which events should be editable by the user. Listeners will be called with the following arguments:
| CalendarView | |
eventdelete :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , Ext.Element el )
Fires after an event has been deleted by the user. If you need to cancel the delete operation you should handle the
... Fires after an event has been deleted by the user. If you need to cancel the delete operation you should handle the
beforeeventdelete event and return false from your handler function. Listeners will be called with the following arguments:
| CalendarView | |
eventmove :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec )
Fires after an event element has been dragged by the user and dropped in a new position. If you need to cancel the
... Fires after an event element has been dragged by the user and dropped in a new position. If you need to cancel the
move operation you should handle the beforeeventmove event and return false from your handler function. Listeners will be called with the following arguments:
| CalendarView | |
eventout :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , HTMLNode el )
Fires anytime the mouse exits an event element Fires anytime the mouse exits an event element Listeners will be called with the following arguments:
| CalendarView | |
eventover :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec , HTMLNode el )
Fires anytime the mouse is over an event element Fires anytime the mouse is over an event element Listeners will be called with the following arguments:
| CalendarView | |
eventsrendered :
( Ext.ensible.cal.CalendarView this )
Fires after events are finished rendering in the view Fires after events are finished rendering in the view Listeners will be called with the following arguments:
| CalendarView | |
eventupdate :
( Ext.ensible.cal.CalendarView this , Ext.ensible.cal.EventRecord rec )
Fires after an existing event has been updated Fires after an existing event has been updated Listeners will be called with the following arguments:
| CalendarView | |
initdrag :
( Ext.ensible.cal.CalendarView this )
Fires when a drag operation is initiated in the view Fires when a drag operation is initiated in the view Listeners will be called with the following arguments:
| CalendarView | |
rangeselect :
( Ext.ensible.cal.CalendarView this , Object dates , Function callback )
Fires after the user drags on the calendar to select a range of dates/times in which to create an event. This is a
... Fires after the user drags on the calendar to select a range of dates/times in which to create an event. This is a
cancelable event, so returning false from a handler will cancel the drag operation and clean up any drag shim elements
without displaying the event editor view. This could be useful for validating that a user can only create events within
a certain range. Listeners will be called with the following arguments:
| CalendarView | |
weekclick :
( Ext.ensible.cal.MonthView this , Date dt )
Fires after the user clicks within a week link (when #showWeekLinks is true) Fires after the user clicks within a week link (when #showWeekLinks is true) Listeners will be called with the following arguments:
| MonthView |