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

Parameters

value
The row formatter string or object.

Return Value

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

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.