# Edit

Use the Edit method to start the edit mode for one row when the edit template is enabled. Learn its syntax and parameters in documentation.

## Content

Starts edit mode for one row when the edit template is enabled.

## Syntax

[JavaScript]

```javascript
FpSpread1.Edit(0);
```

## Parameters

***row***
Integer, row index (optional)

## Return Type

None

## Remarks

Starts edit mode for one row when the edit template is enabled. The Developer’s Guide has more information about creating row edit templates. This method causes a postback. If the row parameter is null, the active cell is put in edit mode.

## 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 RowEdit() {
       FpSpread1.Edit(r); // start edit mode
   }
</script>
```

## See Also

[StartEdit](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-StartEdit)
[EditStart](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allevents/CSSR-onEditStart)
[EditStopped](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allevents/CSSR-onEditStopped)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)