Spread for ASP.NET 18 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / ClearSelection
In This Topic
ClearSelection
In This Topic

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 type="text/javascript">
   function removeSelRanges() {
      FpSpread1.ClearSelection(); // clears all selections in display
   }
</script>
See Also