Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available since:starting with

  1. databasecf 2.1
  2. katl-commons SIL Engine™ 2.0.3

Syntax

getRow(tableField, rowIndex)

Description

Excerpt

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

Parameters

Parameter nameTypeRequiredDescription
tableFieldarrayYes
The
Value of the data table custom field
value.
rowIndexnumberYes
The index
Index of the row to be retrieved
.

Return Type

string[]

Example

Image RemovedImage Added

Code Block
string[] adminDetails = getRow(customfield_10001, 0);

For custom the Developers custom field DataTable 2 with the id the customfield_10001 id, the result returned by the above routine call will be:
admin|Admin Useradmin@localhost|admin@admin.com.admin.

See also