w2grid.selectionRestore

Restores last remembered selection
selectionRestore([noRefresh])
noRefresh boolean, optional indicates if to refresh the grid
Returns time it took to restore selection.

Description

This method restores last saved selection from .last._selection property. It is used internally to remember and then restore selection after local sort and grid reload methods.
If you have a grid defined in the following way: You can do:

User Comments

comments powered by Disqus