DevExtreme React - DataSource Events

This section describes events that the DataSource raises.

changed

Raised after data is loaded.

Type:

Event

Function parameters:
e:

Object

Information about changes.
Appears only when the push(changes) method is called and the reshapeOnPush option is false.

Object structure:
Name Type Description
changes

Array<any>

The received changes.

Main article: onChanged

loadError

Raised when data loading fails.

Type:

Event

Function parameters:
error:

Object

The occurred error.

Object structure:
Name Type Description
message

String

The system message about the error.

Main article: onLoadError

loadingChanged

Raised when the data loading status is changed.

Type:

Event

Function parameters:
isLoading:

Boolean

Indicates whether data is being loaded.

Main article: onLoadingChanged