Spread for ASP.NET 7.0 Product Documentation
ClearSelection
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ClearSelection

Glossary Item Box

Clears all the selections in the display.

Syntax

[JavaScript]

FpSpread1.ClearSelection();

Parameters

None

Return Type

None

Remarks

This method changes the display on the client so that no cells are selected. This method does not cause a postback to occur.

Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

JavaScript Copy Code
<SCRIPT language=javascript>
   function removeSelRanges() {
      FpSpread1.ClearSelection(); // clears all selections in display
   }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.