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

Parameters

value
The cell formatter string or object.

Return Value

The cell formatter string or object.
Example
This example specifies a formatter.
activeSheet.getCell(1,1).formatter("0.000%");
See Also

Reference

Cell type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.