Availability
This routine is available since katl-commons 2.5/databasecf 2.1.
Syntax
getRow(tableField, rowIndex)
Description
Retrieves the data in the row 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. |
rowIndex | number | Yes | The index of the row to be retrieved. |
Return Type
string[]
Example
string[] adminDetails = getRow(customfield_10001, 0);
For custom field DataTable 2 with the id customfield_10001, the result returned by the above routine call will be: admin|Admin User|admin@admin.com.