SpreadJS Documentation
text Method
GC.Spread.Sheets Namespace > CellRange type : text Method
The cell text.
Gets or sets the formatted text for the cell.
Syntax
var instance = new GC.Spread.Sheets.CellRange(sheet, row, col, rowCount, colCount, sheetArea);
var returnValue; // Type: any
returnValue = instance.text(value);
function text( 
   value : string
) : any;

Parameters

value
The cell text.

Return Value

If no value is set, returns the cell text; otherwise, returns the cell.
Example
This example sets the cell text.
activeSheet.getCell(1,1).text("cell object");
Remarks
The default value is an empty string.
See Also

Reference

CellRange type