LocalStore

A Store providing access to the HTML5 Web Storage.

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

Object

When creating a LocalStore instance, specify the name configuration option, which is required to identify the data within the storage.

JavaScript
var store = new DevExpress.data.LocalStore({
    name: "MyLocalData",
    key: "id"
});

Note that the key option is required if you are going to use the Store for read-write access to data.

For more information on working with LocalStore data, refer to the Data Source Examples article.

Configuration

This section describes configuration options used to configure the LocalStore.

Methods

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

Events

This section describes events raised by this Data Store object.

To handle events, use one of the following methods.