Refresh data in Grid Layout on button click/action

Hi,

 

Scenario:

I would like to refresh the data displayed in my page Grid Layout, which looks somewhat like this:

Link to Details price details quantity
Link to Details price details quantity

When the user clicks Link to details, my page is setup with the following code, which controls the visibility of a 'Details' page:

showWhen: not(
          isnull(
            local!selectedEventId
          )
        )

The Details page contains a couple of editable fields, which can update data that is ultimately displayed in the Grid Layout Page.

When the user updates data, using editable fields, and exits out of the Detail page, the local!selctedEventId is set to null, which, in turn, makes the Details page disappear from the users view and brings up the Grid Layout page, again.

 

Problem:

When the user exits out of the details page and has edited data, I would like the data in the Grid Layout Page to be refreshed or updated at the same time (either on the click of the Submit button or by any other means). How do I accomplish this?

 

Thanks,

  Discussion posts and replies are publicly visible