Spread for ASP.NET 11 Product Documentation
StartEdit
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > StartEdit

Puts a cell into edit mode to allow editing the cell.

Syntax

[JavaScript]

FpSpread1.StartEdit(cell);

Parameters

cell
Table element for the cell (optional)

Return Type

None

Remarks

This method starts edit mode for a cell to be edited and puts the editing cursor over that cell. If a particular cell is specified in the cell parameter, that cell is put in edit mode. If the cell parameter is null, the active cell is put in edit mode. This method does not cause a postback to occur.

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 type="text/javascript">
   function beginEditMode() {
       FpSpread1.StartEdit();    // starts edit mode
   }
</script>
See Also