Angular Scheduler Events
This section describes events fired by this widget.
appointmentAdded
Raised after an appointment is added to the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The added appointment's data.  | 
                |
| error | 
                         The standard Error object that defines the occurred error.  | 
                
Main article: onAppointmentAdded
See Also
appointmentAdding
Raised before an appointment is added to the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The data of the appointment to be added.  | 
                |
| cancel | | | 
                         Allows you to cancel appointment adding.  | 
                
Main article: onAppointmentAdding
See Also
appointmentClick
Raised when an appointment is clicked or tapped.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The initial appointment.  | 
                |
| targetedAppointmentData | 
                         The clicked appointment.  | 
                |
| appointmentElement | 
                         The clicked appointment's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
| cancel | 
                         Allows you to cancel execution of the default appointment click handler.  | 
                
Main article: onAppointmentClick
See Also
appointmentContextMenu
Raised when a user attempts to open the browser's context menu for an appointment.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| appointmentData | 
                         The initial appointment.  | 
                |
| targetedAppointmentData | 
                         The appointment on which the context menu is invoked.  | 
                |
| appointmentElement | 
                         The container of the appointment on which the context menu is invoked.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler's execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler's execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
Main article: onAppointmentContextMenu
See Also
appointmentDblClick
Raised when an appointment is double-clicked or double-tapped.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The initial appointment.  | 
                |
| targetedAppointmentData | 
                         The clicked appointment.  | 
                |
| appointmentElement | 
                         The clicked appointment's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
| cancel | 
                         Allows you to cancel execution of the default appointment click handler.  | 
                
Main article: onAppointmentDblClick
See Also
appointmentDeleted
Raised after an appointment is deleted from the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The deleted appointment's data.  | 
                |
| error | 
                         The standard Error object that defines the occurred error.  | 
                
Main article: onAppointmentDeleted
See Also
appointmentDeleting
Raised before an appointment is deleted from the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The data of the appointment to be deleted.  | 
                |
| cancel | | | 
                         Allows you to prevent the appointment from being deleted.  | 
                
Main article: onAppointmentDeleting
See Also
appointmentFormCreated
Raised before an appointment's details form is opened.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| appointmentData | 
                         The data of the appointment for which a form is opened.  | 
                |
| form | 
                         The form's instance.  | 
                
Main article: onAppointmentFormCreated
See Also
appointmentRendered
Raised when an appointment is rendered.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The initial appointment's data.  | 
                |
| targetedAppointmentData | 
                         The current appointment's data.  | 
                |
| appointmentElement | 
                         The appointment's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                
Main article: onAppointmentRendered
See Also
appointmentUpdated
Raised after an appointment is updated in the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| appointmentData | 
                         The updated appointment's data.  | 
                |
| error | 
                         The standard Error object that defines the occurred error.  | 
                
Main article: onAppointmentUpdated
See Also
appointmentUpdating
Raised before an appointment is updated in the data source.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| oldData | 
                         The data of the appointment to be updated.  | 
                |
| newData | 
                         The appointment with new data.  | 
                |
| cancel | | | 
                         Allows you to prevent an appointment update.  | 
                
Main article: onAppointmentUpdating
See Also
cellClick
Raised when a view cell is clicked.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if Knockout is used.  | 
                |
| cellData | 
                         The clicked cell's data.  | 
                |
| cellElement | 
                         The clicked cell's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
| cancel | 
                         Allows you to cancel execution of the default cell click handler.  | 
                
Main article: onCellClick
See Also
cellContextMenu
Raised when a user attempts to open the browser's context menu for a cell.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| cellData | 
                         The data of the cell on which the context menu is invoked.  | 
                |
| cellElement | 
                         The cell's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler's execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler's execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
Main article: onCellContextMenu
See Also
contentReady
Raised when the widget's content is ready.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only when using Knockout.  | 
                
Main article: onContentReady.
See Also
disposing
Raised before the widget is disposed of.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                
Main article: onDisposing
See Also
initialized
Raised only once, after the widget is initialized.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                
Main article: onInitialized
See Also
optionChanged
Raised after a widget option is changed.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| name | 
                         The option's short name.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| component | 
                         The widget's instance.  | 
                |
| fullName | 
                         The option's full name.  | 
                |
| value | any | 
                         The option's new value.  | 
                
Main article: onOptionChanged
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.