DevExtreme Vue - ODataStore Events

This section describes events that the ODataStore raises.

inserted

Raised after a data item is added to the store.

Type:

Event

Function parameters:
values:

Object

The added data item.

key:

Object

|

String

|

Number

The item's key.

Main article: onInserted

inserting

Raised before a data item is added to the store.

Type:

Event

Function parameters:
values:

Object

The data item to be added.

Main article: onInserting

loaded

Raised after data is loaded to the store.

Type:

Event

Function parameters:
result:

Array<any>

The loaded data.

Main article: onLoaded

loading

Raised before data is loaded to the store.

Type:

Event

Function parameters:
loadOptions:

LoadOptions

Data processing settings.

Main article: onLoading

modified

Raised after a data item is added, updated, or removed from the store.

Type:

Event

Main article: onModified

modifying

Raised before a data item is added, updated, or removed from the store.

Type:

Event

Main article: onModifying

removed

Raised after a data item is removed from the store.

Type:

Event

Function parameters:
key:

Object

|

String

|

Number

The removed data item's key.

Main article: onRemoved

removing

Raised before a data item is removed from the store.

Type:

Event

Function parameters:
key:

Object

|

String

|

Number

The key of the data item to be removed.

Main article: onRemoving

updated

Raised after a data item is updated in the store.

Type:

Event

Function parameters:
key:

Object

|

String

|

Number

The updated data item's key.

values:

Object

Updated values.

Main article: onUpdated

updating

Raised before a data item is updated in the store.

Type:

Event

Function parameters:
key:

Object

|

String

|

Number

The key of the data item to be updated.

values:

Object

New values for the data item fields.

Main article: onUpdating