PivotGridDataSource Events

This section describes events raised by the PivotGridDataSource object.

To handle events, use one of the following methods.

changed

Fires after data is successfully loaded or reloaded.

To learn how to handle events, refer to the Events and Change Tracking topic.

fieldsPrepared

Fires after all fields are prepared.

Event Handler Argument:
fields: Array
An array of fields.

The event occurs after all fields are loaded from the Store and prepared to be displayed in the PivotGrid.

loadError

Fires when data loading is failed.

Event Handler Argument:
error: Object
An object defining the occurred error.

To learn how to handle events, refer to the Events and Change Tracking topic.

loadingChanged

Fires when the data loading status is changed.

Event Handler Argument:
isLoading: Boolean
Indicates if data is being loaded.

To learn how to handle events, refer to the Events and Change Tracking topic.