Spread for ASP.NET 9.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Clear |
Clears the contents of the selected cells.
[JavaScript]
FpSpread1.Clear();
None
None
This method is similar to pressing the Clear button on the command bar. This method does not cause a postback to occur.
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 clearSelCells() { FpSpread1.Clear(); // clears the cell } </script> |