SpreadJS Documentation
formatString Method
GC.Spread.Formatter Namespace > GeneralFormatter class : formatString Method
The format string for this formatter.
Gets or sets the format string for this formatter.
Syntax
var instance = new GC.Spread.Formatter.GeneralFormatter(format, cultureName);
var returnValue; // Type: any
returnValue = instance.formatString(value);
function formatString( 
   value : string
) : any;

Parameters

value
The format string for this formatter.

Return Value

If no value is set, returns the formatter string for this formatter; otherwise, returns the formatter.
See Also

Reference

GeneralFormatter class