gn:act_getRowIndex
- Description
- Returns index of first matching row with defined values
- Action returns
- void
Action signatures
Get row index based on column values
[gn:act_getRowIndex]|[source,target;column{n};source{n}]
Parameter Description source
source from where the row index will be retrieved - Valid sources:
target
target where the row index will be stored column{n}
column where the value from source{n}
will be comparedsource{n}
source from which the value will be compared with column value and if the row matches, row index will be returned
Example
@variable/rowIndexTest
- source@+id/rowIndex
- targetresident_lastName
- search column name@+id/lastName
- search source
- ⤷
[gn:act_getRowIndex]|[@variable/rowIndexTest,@+id/rowIndex;resident_lastName;@+id/lastName]
- ⤷