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

Glossary Item Box

Deletes the row with the active cell.

Syntax

[JavaScript]

FpSpread1.Delete();

Parameters

None

Return Type

None

Remarks

This method is similar to pressing the Delete button on the command bar. This method causes a postback to occur. When this method is called, the Delete event is raised on the server.

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 deleteRow() { 
       FpSpread1.Delete(); // deletes a row from the sheet
   } 
</SCRIPT>

See Also

Add | Scripting Members

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