getRow
Availability
This function is available starting with
databasecf 2.1
SIL Engine™ 2.0.3
Syntax
getRow(tableField, rowIndex)
Description
Retrieves data in the row 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 |
rowIndex | number | Yes | Index of the row to be retrieved |
Return Type
string[]
Example
string[] adminDetails = getRow(customfield_10001, 0);
For the Developers custom field with the customfield_10001 id, the result returned by the above function call will be:
admin|admin@localhost|admin.