CustomStore

A Store object that enables you to implement your own data access logic.

Included in: dx.mobile.js, dx.web.js, dx.viz.js, dx.viz-web.js, dx.all.js
Export: default
Type:

Object

This class requires you to implement all data access operations. Each function implementing an operation should be passed to the corresponding configuration option of the CustomStore.

JavaScript
var store = new DevExpress.data.CustomStore({
    load: function(loadOptions) {
        // . . .
    },
    byKey: function(key, extra) {
        // . . .
    },
    update: function(key, values) {
        // . . .
    },
    . . .  
});

For more information on creating a CustomStore, refer to the Data Source Examples topic.

Configuration

This section describes options that configure the CustomStore.

Methods

This section describes the methods used to access data associated with the CustomStore.

Events

This section describes events raised by this Data Store object.

To handle events, use one of the following methods.

LoadOptions

This section describes the loadOptions object's fields.

Type:

Object

This object is used to specify settings according to which the server should process data. More often these settings are passed as a parameter to the load function and depend on the operations (paging, filtering, sorting, etc.) that you have enabled in the DataSource or widget.

See Also