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.

Type:

Event

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

fieldsPrepared

Fires after all fields are prepared.

Type:

Event

Function parameters:

All field configurations.

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.

Type:

Event

Function parameters:
error:

Object

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.

Type:

Event

Function parameters:
isLoading:

Boolean

Indicates whether data is being loaded.

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