preserveSelection(keep, invert);
keep. Boolean. Save the current selection.
invert. Boolean. Invert the current selection.
The preserveSelection method remembers the current selection for the setSelectedFromToIndex method.
The method use is given in description of the setSelectedFromToIndex method.
See also: