Availability
This routine is available since:
- databasecf 2.1
- katl-commons 2.0.3
Syntax
getColumn(tableField, columnIndex)
Description
Retrieves the data in the column at the specified index from a data table custom field.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
tableField | array | Yes | The data table custom field value. |
columnIndex | number | Yes | The index of the column to be retrieved. |
Return Type
string[]
Example
string[] fullNames = getColumn(customfield_10001, 2);
For custom field Developers with the id customfield_10001, the result returned by the above routine call will be: admin|developer1|developer2|developer3|developer4|developer5.