w2grid.selectionSave

Remembers current selection
selectionSave()
Returns selection (same as this.getSelection() method).

Description

This method saves current selection in .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