← Back to the available actions list
If you have a problem with understanding how the action works, check the descriptions: Action, Conditional execution, Component parameters
Category: Table
Previous names: Conditional row deletion (till 1.0.43)
Action location: Table. Table button
Available from version: 1.0.18
Action description
The action that during the form initialization adds a button to the table. After pressing the button, the action deletes the rows for which the Condition parameter returns true.
Action call
Leaving an empty conditional execution field is identical with setting it to "the truth".
Action location | Parameter operation "Conditional execution" | Action call condition |
---|---|---|
Table | Activate the action | The "Condition" parameter will return "truth" for the given row. |
Table button | Activates the button | Pressing the button on which the action is located |
Configuration parameters
Parameter name | From version | Description | Parameter type | Default value | Field type | Comments and restrictions |
---|---|---|---|---|---|---|
Button id | 1.0.40 | The id button that will be added to the table. By default it is generated by the system, but it is possible to change it. | Text | <generated by the system> | Editable field | |
Button name* | 1.0.18 | Button name that will be added to the table | Text | Blocking | Non editable dropdown list | Possible values to choose: "Block" and "Unblock" |
Condition* | 1.0.18 | When the condition is met, it will delete the given row. The function is called for each row | Function | No | Editable field | The function must return a logical type (true/false). In the condition is available to use the "CURRENT ROW" context variable. |
Parameter*- required field
Context variables
Context variable name | From version | Description | Parameter type |
---|---|---|---|
Current row | 1.0.18 | Stores information about the currently set row number. It can be used in the "Condition" parameter, eg together with the item () function, to get the value from the currently set row. | Total |
Sample action configuration
Using example
1.0.18
- Adding a component
- Ability to attach more than one action on the form
1.0.43
- Rename from the Conditional row deleting to Conditional row deletion
1.0.49
- Dynamic form update - checking the Condition field type
1.0.62
- Action can be added on dynamic table button