SpreadJS Documentation
text Method
The cell text.
Gets or sets the formatted text for the cell.
Syntax
var instance = new GcSpread.Sheets.Cell(sheet, row, col, sheetArea);
var returnValue; // Type: string
returnValue = instance.text(value);
function text( 
   value : string
) : string;

Parameters

value
The cell text.

Return Value

The formatted text in 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

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.