LocalStore

A Store providing access to the HTML5 Web Storage.

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 fired by this Store.

Subscribing to any event described in this section is equivalent to passing the event handling function to the corresponding configuration option. The only difference is that the function passed to the configuration option is the first within the stack of event handlers.