SpreadJS 14
GC.Spread.Sheets.CellState Namespace / CellStateManager type / clear Method
{GC.Spread.Sheets.Range} The scope range for clear.
{GC.Spread.Sheets.SheetArea} The sheet area. If this parameter is not provided, it defaults to viewport.
In This Topic
    clear Method
    In This Topic
    Syntax
    var instance = new GC.Spread.Sheets.CellState.CellStateManager(sheet);
    var value; // Type: any
    value = instance.clear(range, sheetArea);
    function clear( 
       range : any,
       sheetArea : any
    ) : any;

    Parameters

    range
    {GC.Spread.Sheets.Range} The scope range for clear.
    sheetArea
    {GC.Spread.Sheets.SheetArea} The sheet area. If this parameter is not provided, it defaults to viewport.
    Example
    var range = new GC.Spread.Sheets.Range(1,2,3,3);
    sheet.cellStates.clear(range, GC.Spread.Sheets.SheetArea.viewport);
    See Also