This section describes events raised by this ODataStore instance.
To handle events, use one of the following methods.
Attach a handler for a Data Store event
Assign a callback function to the Data Store option that takes on a handler for the required event. The events that can be handled within the Data Store's configuration object are listed in the Configuration section. All these events have names starting with on.
Attach several handlers for one or several events to a Data Store
Specify event handling functions for one or more events using the on() method. All the Data Store events are listed in the Events section.
Fires after a data item is added.
Fires before a data item is added.
An object representing the item being inserted.
Fires after data is loaded.
The loaded data array.
Fires before data is loaded.
An object defining options for the loaded data.
A filter expression for the loaded data.
A sort expression for the loaded data.
An expression for selection in the loaded data.
An expression for grouping in the loaded data.
The number of items to skip.
The number of items to take for the loaded data.
A bag for holding user-defined parameters.
Specifies whether or not the load function should resolve the returned Deferred.Promise using the second argument (extra) containing the totalCount field.
A search operation expression.
A getter representing a search expression.
Fires after data is modified.
Fires before the data is modified.
Fires after a data item has been removed.
Fires before a data item is removed.
Fires after a data item has been updated.
Fires before a data item is updated.