getColByName method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
getColByName(fld)
Gets the column number for a given field name.
Version history
Version state | Details |
---|---|
Introduced | 2.1 |
Parameters
fld
Type: String
Field name.
Returns
Column number, starting with zero. Undefined if no column with that name exists.
Example
var table = qlik.table( this );
var colNumber = table.getColByName('Closed cases');