From wiki.ginstr.com
Jump to: navigation, search

gn:act_removeRow

Description
Removes row from list typed widget or variable
Action returns
void

Action signatures

Removes row based on column values

[gn:act_removeRow]|[target;;column{n};source{n}]
Parameter Description
target target from where the row will be removed
column{n} column where the value from source will be compared
source{n} source from which the value will be compared with column value and if the row matches, it will be removed

Example

@variable/newEmailDTVariable - target
name, email - column names
@variable/supervisorFirstName, @variable/supervisorEmail - source
[gn:act_removeRow]|[@variable/newEmailDTVariable;;name,email;@variable/supervisorFirstName,@variable/supervisorEmail]

Removes row from defined rowIndex in the list

[gn:act_removeRow]|[target;rowIndex]
Parameter Description
target target from where the row will be removed
rowIndex
optional

source which represents the row index in target where the row will be removed

Example

@variable/newEmailDTVariable - target
@variable/rowIndex - row index
[gn:act_removeRow]|[@variable/newEmailDTVariable;@variable/rowIndex]