SpreadJS 13
GC.Spread.Formatter Namespace / GeneralFormatter class / formatString Method
The format string for this formatter.
In This Topic
    formatString Method
    In This Topic
    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