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

Parameters

value
The column formatter string or object.

Return Value

The column formatter string or object.
Example
This example uses the formatter method.
activeSheet.getColumn(0).formatter("0.000%");
activeSheet.getCell(0,0).value("2");
See Also

Reference

Column type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.