SpreadJS 13
GC.Spread.Sheets Namespace / Worksheet type / getCell Method
The row index.
The column index.
The sheet area. If this parameter is not given, it defaults to viewport.
In This Topic
    getCell Method
    In This Topic
    Gets the specified cell in the specified sheet area.
    Syntax
    var instance = new GC.Spread.Sheets.Worksheet(name);
    var value; // Type: CellRange
    value = instance.getCell(row, col, sheetArea);
    function getCell( 
       row : number,
       col : number,
       sheetArea : SheetArea
    ) : CellRange;

    Parameters

    row
    The row index.
    col
    The column index.
    sheetArea
    The sheet area. If this parameter is not given, it defaults to viewport.

    Return Value

    The cell.
    Example
    This example gets the cell.
    activeSheet.getCell(1,1).text("cell object");
    See Also

    Reference

    Worksheet type