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