Refreshing Advance Data grid after update
Comments
-
I am using an advanced data grid on a form. This form allows users to update information for any of the records. However, the updated information is not shown on the Form. Is there a way for me to accomplish this?
-
Refreshing a data grid can be accomplished by using a data flow. For instance we can have the user click a button to refresh the grid or have them click another row and refresh the grid that way. Both options will use the data flow but will have the trigger either set to the user selecting another row or clicking the button component on the form.
We will go over the row selection option below.
In the properties section of the Data Grid, select the "Single Select" option for the "Grid mode".[color=rgb(127, 140, 141)][font=Roboto][img]att6[/img][/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
Click off the form and navigate to the Data Flow section and add a data flow.[color=rgb(127, 140, 141)][font=Roboto][img]att5[/img][/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
Select create a data flow and in this flow fetch the entities the data grid was displaying and output it from this flow. Save and close. (in the current example we used a user defined type (Tech_purchase) entity)[color=rgb(127, 140, 141)][font=Roboto][img]att3[/img][/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
For the triggers select: Run at startup and the “Selection change" (note: if we were to use the button option, we would select the button component here for the trigger)[color=rgb(127, 140, 141)][font=Roboto][img]att2[/img][/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[font=Arial][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][/font]
[font=Arial][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][/font]
[font=Arial]Update the Input data name for the data grid to the output of that data flow output. Save and close.
[/font]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[color=rgb(127, 140, 141)][font=Roboto][img]att4[/img][/font][/color]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color][font=Arial][color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
I have attached an example project for reference.[/font]
[color=rgb(127, 140, 141)][font=Roboto]
[/font][/color]
[i]edited by faiza@decisions.com on 3/18/2020[/i]
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions