- 12 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Updating Data Grid Using Sub-Dialog Flow
- Updated on 12 Feb 2024
- 1 Minute to read
- Print
- DarkLight
Overview
Example Lab Details | |
Version | 6.13.0 |
Root Folder | Example Lab-Updating Data Grid Using Sub-Dialog Flow |
Modules | None |
Dependencies | None |
This Example lab demonstrates how to use a Sub-dialog Flow to update a Data Grid on a Form.
Explanation
For this example, the native Account data type is used. In the Main Flow, The Fetch Entities Step outputs an account list. The Form has a Data Grid that displays the accounts. The Data Grid output type is set to "Output All". When a user selects a row on the Data Grid and then clicks the "Sub-Dialog Button", a Form will display with the current "department' information and a textbox to allow the user to update the Department information. Once the user clicks update, the Data grid on the Main form will update with the new information for the selected Row. This Sub Dialog Flow takes in the selected row on the Data Grid. The Form shows the current Department value for the Account. The user can use the textbox to modify only the Department field on the Account. The update step saves the changes, and the Flow outputs an updated list of accounts to be mapped back into the Data grid.
To test, run the Main Flow.