# Add

Use the Add method to insert a new row at the end of the sheet. Learn its syntax and parameters in documentation.

## Content

Inserts a new row at the end of the sheet.

## Syntax

[JavaScript]

```javascript
FpSpread1.Add();
```

## Parameters

None

## Return Type

None

## Remarks

This method is similar to pressing the Add button on the command bar. This method causes a postback to occur. When this method is called, the Insert event is raised on the server.
You cannot specify where to add the row; it is inserted at the end of the sheet.

## 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 addRow() {
       FpSpread1.Add(); // adds a row to the sheet
   }
</script>
```

## See Also

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