Data Table Add Action
The Data Table widget presents a popup menu when the user clicks on a row of the Data Table widget on the page.
The Data Table Add Action
block lets you add custom options to the popup menu and take an action if the user selects the option.
![](https://docs.zingy.ai/~gitbook/image?url=https%3A%2F%2F3401585094-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmnBepgycwgisXr9ya1N4%252Fuploads%252Fl9EPMgCfi4zVqU6W3hgD%252Fimage.png%3Falt%3Dmedia%26token%3Dff4cceb7-8c4d-4f1f-845a-675393f3c3ab&width=768&dpr=4&quality=100&sign=22c2a350&sv=1)
The block consists of the following (from top to bottom):
Data Table: Selectable Input to choose the Data Table widget from your page.
Label: Input configuration setting to specify the text label for the option.
Icon: Input configuration setting to specify an icon via Font Awesome 6 icon's CSS classes.
Selection Tasks: a Flow Parameter where you connect blocks that specify what you want done after a selection is made. Use the Data Table : Table Name and Data Table : Data blocks to aid with your processing.
NOTE: Each instance of this block adds one option to the menu. Hence to add multiple options, use this block as many times as needed.
Usage Example
The image below shows an example of the Data Table Add Action block where the option with label Custom1 and and icon from Font Awesome 6 is used.
![](https://docs.zingy.ai/~gitbook/image?url=https%3A%2F%2F3401585094-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FmnBepgycwgisXr9ya1N4%252Fuploads%252FQzOFIgnK6grO50MHbvta%252Fimage.png%3Falt%3Dmedia%26token%3Da4302a77-2a0b-4728-b774-aaedb937fc30&width=768&dpr=4&quality=100&sign=874790f9&sv=1)
Last updated