--- title: "Updating Data Grid Using Sub-Dialog Flow" slug: "updating-data-grid-using-sub-dialog-flow" status: "update" updated: 2024-02-12T13:45:24Z published: 2024-02-12T13:45:24Z canonical: "documentation.decisions.com/updating-data-grid-using-sub-dialog-flow" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Updating Data Grid Using Sub-Dialog Flow Example Lab ArticleWhile Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released. --- ## 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 F**etch 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. Reference Articles[Sub Dialog Data Flow](https://documentation.decisions.com/docs/sub-dialog-data-flow) [Using Grid Mode in Data Grid/Advanced Data Grid](https://documentation.decisions.com/docs/using-grid-mode) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/output%20type.png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Sub%20dialog%20Flow(1).png) ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/Main%20Flow(6).png) --- ## Project Download The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.13.0 or later using our [Importing/Exporting](https://documentation.decisions.com/docs/importing-and-exporting-projects) article. [ExampleLab[UpdatingDataGridUsingSub-DialogFlow].zip](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/ExampleLab%5BUpdatingDataGridUsingSub-DialogFlow%5D.zip) ---