Skip to main content Skip to complementary content

getColByName method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

getColByName(fld)

Gets the column number for a given field name.

Version history

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');

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!