Spread ASP.NET 6.0 Product Documentation
ClearSelection
Send Feedback
Spread ASP.NET 6.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

Clear | Delete | Scripting Members

© 2002-2012 GrapeCity, Inc. All Rights Reserved.