SpreadJS Documentation
GC.Spread.Sheets.Tables Namespace / TableColumn type / value Method
The table column value convert function.
In This Topic
    value Method
    In This Topic
    Gets or sets the table column value convert function for display value.
    Syntax
    var instance = new GC.Spread.Sheets.Tables.TableColumn(id, dataField, name, formatter, cellType, value);
    var returnValue; // Type: any
    returnValue = instance.value(value);
    function value( 
       value : any
    ) : any;

    Parameters

    value
    The table column value convert function.

    Return Value

    If no value is set, returns the table column value convert function; otherwise, returns the table column.
    See Also