Spread.Sheets Documentation
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

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.