Spread ASP.NET 18
Spread for ASP.NET 18 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / Edit
In This Topic
    Edit
    In This Topic

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

    Syntax

    [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
    Copy Code
    <script type="text/javascript">
       function RowEdit() {
           FpSpread1.Edit(r); // start edit mode
       }
    </script>
    
    See Also