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

    Parameters

    value
    The table column cellType.

    Return Value

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