Skip to end of banner
Go to start of banner

getColumn

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Availability

This routine is available since katl-commons 2.5/databasecf 2.1.

Syntax:

getColumn(tableField, columnIndex)

Description:

Retrieves the data in the column at the specified index from a data table custom field.

Parameters:

Parameter nameTypeRequiredDescription
tableFieldarrayYesThe data table custom field value.
columnIndexnumberYesThe index of the column to be retrieved.

Return Type:

string[]

Example:

string[] fullNames = getColumn(customfield_10001, 1);

For custom field DataTable 2 with the id customfield_10001, the result returned by the above routine call will be: Admin User|Developer User|Test User.

  • No labels