JavaScript

{dialog.object}.persistListToLocalStorage Method

Syntax

{dialog.object}.persistListToLocalStorage(ListId);

Arguments

ListIdstring

Name of the List control to persist data to local storage.

Description

Manually persist List data and state to Local Storage (assuming the List properties have been set to allow persistence to Local Storage). Normally this method is not needed because the List is automatically persisted to Local Storage any time the List contents is changed (by adding, deleting or editing data in the List).

Example

{dialog.object}.persistListToLocalStorage('LIST1');

See Also