← 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 | Hidden since version 1.0.91 |
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" Hidden since version 1.0.91 |
Variables that trigger action* | 1.0.91 | Changing the value of a variable triggers action. | Text | Editable field | The parameter appears when selecting the value "Execute when variables updates" from the parameter "Action executing types". | |
Action executing types* | 1.0.91 | Parameter specifying the type of event after which the action is to be triggered. There are 2 values to choose from:
| Text | Calling on condition of conditional execution. | Non editable dropdown list | Parameter appears when an action is placed on the table. |
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 |
Configuration on table (old version):
Configuration on table (new version):
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
1.0.91
- Adding Action executing types parameter and hidden Button id and Button name parameters
Add Comment