SpreadJS Documentation
getCell Method
The row index.
The column index.
The sheet area. If this parameter is not given, it defaults to viewport.
Gets the specified cell in the specified sheet area.
Syntax
var instance = new GcSpread.Sheets.Sheet(name);
var value; // Type: Cell
value = instance.getCell(row, col, sheetArea);
function getCell( 
   row : number,
   col : number,
   sheetArea : SheetArea
) : Cell;

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

Sheet type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.