Refreshing Advance Data grid after update

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]

Sign In or Register to comment.