Spread.Sheets Documentation
getColumnIndex Method
GC.Spread.Slicers Namespace > GeneralSlicerData type : getColumnIndex Method
The column name.
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

Reference

GeneralSlicerData type