checkRow() |
It is used to select or clear the check box of a row in a table.
Syntax
Script |
tableId.checkRow(iRowIndex, [bCheck]) |
Parameters
Parameter |
Description |
---|---|
iRowIndex |
Denotes the index of the row to be checked or unchecked. |
bCheck |
Boolean that denotes whether the check box should be selected or cleared. By default, this is true. |
Remarks
In Process Platform XForms, the index of rows in a table always starts with '1'. Therefore, to check the third row on a table, the index value passed should be '3'.
Example
The following sample code checks the third row on the table.
tableID.checkRow (3, true);