Revision as of 08:38, 1 March 2017 by Dinko (talk | contribs) (Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_updateRow</code></span> Category:Action_Library ;Des...")
gn:act_updateRow
- Description
- Updates a row by defined column values or specified index on target which supports rows, rowColumns
- Action returns
- void
Action signatures
Update row based on column values
[gn:act_updateRow]|[target,index;searchColumn{n};searchTarget{n};column{n};source{n}]
Parameter | Description |
---|---|
source | source from where the row index will be retrieved
|
target | target where the row index will be stored |
column{n} | column where the value from source{n} will be compared |
source{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
- variable rows, rowColumns
@+id/rowIndex
- GnEditText widget
resident_lastName
- column name
@+id/lastName
- GnEditText widget
[gn:act_getRowIndex]|[@variable/rowIndexTest,@+id/rowIndex;resident_lastName;@+id/lastName]