(→Example) |
m (formatting) |
||
Line 10: | Line 10: | ||
===Get rows size=== | ===Get rows size=== | ||
− | ;<code>[gn:act_rowsSize]|[source,target]</code> | + | :;<code>[gn:act_rowsSize]|[source,target]</code> |
− | {| class="wikitable sortable" style="font-size: 85%; text-align: left;" | + | :{| class="wikitable sortable" style="font-size: 85%; text-align: left;" |
|- | |- | ||
! scope="col" | Parameter | ! scope="col" | Parameter | ||
! scope="col" | Description | ! scope="col" | Description | ||
|- | |- | ||
− | | [[source]] | + | | <code>[[source]]</code> |
| [[source]] from where the number of rows will be retrieved | | [[source]] from where the number of rows will be retrieved | ||
* Valid [[source|sources]]: | * Valid [[source|sources]]: | ||
− | ** [[GnDropDown]] | + | ** <code>[[GnDropDown]]</code> |
− | ** [[Datatypes#rows|rows]] | + | ** <code>[[Datatypes#rows|rows]]</code> |
− | ** [[Datatypes#rowsColumn|rowsColumn]] | + | ** <code>[[Datatypes#rowsColumn|rowsColumn]]</code> |
|- | |- | ||
− | | [[target]] | + | | <code>[[target]]</code> |
| [[target]] where the number of rows will be stored | | [[target]] where the number of rows will be stored | ||
* Valid [[target|targets]]: | * Valid [[target|targets]]: | ||
− | ** [[Datatypes#number|DtNumber]] | + | ** <code>[[Datatypes#number|DtNumber]]</code> |
|- | |- | ||
|} | |} | ||
====Example==== | ====Example==== | ||
− | <code>@variable/meters</code> - source<br> | + | :<code>@variable/meters</code> - source<br> |
− | <code>@variable/metersCount</code> - target | + | :<code>@variable/metersCount</code> - target<br> |
− | <code>[gn:act_rowsSize]|[@variable/meters,@variable/metersCount]</code> | + | :; ⤷ <code>[gn:act_rowsSize]|[@variable/meters,@variable/metersCount]</code> |
<hr> | <hr> |
Revision as of 19:40, 12 July 2017
gn:act_rowsSize
- Description
- Action used to retrieve the number of rows in the list
- Action returns
- void
Action signatures
Get rows size
[gn:act_rowsSize]|[source,target]
Parameter Description source
source from where the number of rows will be retrieved - Valid sources:
target
target where the number of rows will be stored
Example
@variable/meters
- source@variable/metersCount
- target
- ⤷
[gn:act_rowsSize]|[@variable/meters,@variable/metersCount]
- ⤷