Spread ASP.NET 6.0 Product Documentation
Clear
Send Feedback
Spread ASP.NET 6.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Clear

Glossary Item Box

Clears the contents of the selected cells.

Syntax

[JavaScript]

FpSpread1.Clear();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Clear button on the command bar. 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 clearSelCells() { 
       FpSpread1.Clear(); // clears the cell
   } 
</SCRIPT>

See Also

ClearSelection | Delete | Scripting Members

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