# Delete

Use the Delete method to delete the row with the active cell. Learn its syntax and parameters in documentation.

## Content

Deletes the row with the active cell.

## Syntax

[JavaScript]

```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
<script type="text/javascript">
   function deleteRow() {
       FpSpread1.Delete(); // deletes a row from the sheet
   }
</script>
```

## See Also

[Add](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-Add)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)