SpreadJS 13
GC.Spread.Slicers Namespace / GeneralSlicerData type / getColumnIndex Method
The column name.
In This Topic
    getColumnIndex Method
    In This Topic
    Gets the column index by the specified column name.
    Syntax
    var instance = new GC.Spread.Slicers.GeneralSlicerData(data, columnNames);
    var value; // Type: number
    value = instance.getColumnIndex(columnName);
    function getColumnIndex( 
       columnName : string
    ) : number;

    Parameters

    columnName
    The column name.

    Return Value

    The column index.
    See Also