SpreadJS Documentation
format Method
GC.Spread.Formatter Namespace > GeneralFormatter class : format Method
The object with cell data to format.
The object with formatted data.
Formats the specified object as a string with a formatted data Object.
Syntax
var instance = new GC.Spread.Formatter.GeneralFormatter(format, cultureName);
var value; // Type: any
value = instance.format(obj, formattedData);
function format( 
   obj : Object,
   formattedData : Object
) : any;

Parameters

obj
The object with cell data to format.
formattedData
The object with formatted data.
See Also

Reference

GeneralFormatter class