SpreadJS 14
GC.Spread.Sheets Namespace / Commands type / startTransaction Method
The context of the operation.
The options of the operation.
The sheet name. If the current transaction need change multiple worksheets, the sheetName could be a string Array.
In This Topic
    startTransaction Method
    In This Topic
    Starts a transaction. During the transaction, the changes of the data model will be saved.
    Syntax
    var value; // Type: any
    value = GC.Spread.Sheets.Commands.startTransaction(context, options, options.sheetName);
    function startTransaction( 
       context : Workbook,
       options : Object,
       (optional) options.sheetName : undefined
    ) : any;

    Parameters

    context
    The context of the operation.
    options
    The options of the operation.
    options.sheetName
    The sheet name. If the current transaction need change multiple worksheets, the sheetName could be a string Array.
    See Also

    Reference

    Commands type