You can access and restore the selected rows pretty easily, but it might be better to use localStorage
rather than a cookie:
window.onbeforeunload = function(){
var rows = grid.getSelectedRows();
if (+rows) localStorage['selectedRows'] = JSON.stringify(rows);
else delete localStorage['selectedRows'];
}
Then when you initialize the grid:
var grid = new Slick.Grid('#myGrid', data, columns, options);
grid.setSelectionModel(new Slick.RowSelectionModel({selectActiveRow: false}));
grid.registerPlugin(checkboxSelector);
if ('selectedRows' in localStorage) {
var rows = JSON.parse(localStorage['selectedRows']);
grid.setSelectedRows(rows);
}