Array that contains a list with param names that needs to be saved in the localStorage. You need to specify guid on the initialization of the grid in order to enable this feature.
This feature is using HTML5 localStorage to store params and values.You can clear the data saved in localStorage when you clear your browser cache.
Examples
sample
<p>Change the page and/or page size and then refresh the grid.</p>
<table id="grid"></table>
<script>
var grid = $('#grid').grid({
guid: '58d47231-ac7b-e6d2-ddba-5e0195b31f2e',
uiLibrary: 'bootstrap',
dataSource: '/Players/Get',
columns: [ { field: 'ID', width: 36 }, { field: 'Name' }, { field: 'PlaceOfBirth' } ],
optimisticPersistence: { localStorage: ["page", "limit"] },
pager: { limit: 2, sizes: [2, 5, 10, 20] }
});
</script>