SpreadJS 13
GC.Spread.Sheets Namespace / CellRange type / tabStop Method
Set to true to set focus to the cell using the Tab key.
In This Topic
    tabStop Method
    In This Topic
    Gets or sets a value that indicates whether the user can set focus to the cell using the Tab key.
    Syntax
    var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
    var returnValue; // Type: any
    returnValue = instance.tabStop(value);
    function tabStop( 
       (optional) value : boolean
    ) : any;

    Parameters

    value
    Set to true to set focus to the cell using the Tab key.

    Return Value

    If no value is set, returns whether the user can set focus to the cell using the Tab key; otherwise, returns the cell.
    Example
    The following examples use the tabStop method.
    activeSheet.getCell(1,1).tabStop(false);
    activeSheet.getRange(1, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    activeSheet.getRange(-1, 1, -1, 1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    activeSheet.getCell(1,1).tabStop(false);
    activeSheet.getRange(1, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    activeSheet.getRange(-1, 1, -1, 1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    activeSheet.getCell(1,1).tabStop(false);
    activeSheet.getRange(1, -1, 1, -1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    activeSheet.getRange(-1, 1, -1, 1, GC.Spread.Sheets.SheetArea.viewport).tabStop(false);
    See Also

    Reference

    CellRange type