Skip to main content
Solved

Refreshing a table after closing a pop-up


Forum|alt.badge.img+2

Hi!

I’ve checked the community regarding refreshing tables in process flows. But I could not find a solution which complies with the wishes of our users.

Our users mostly work in the windows GUI. One of the processes includes a view with a task. A pop-up containing another view appears after the user clicks on the table task. When the user is done with the pop-up, it is closed automatically. 

The previously mentioned view is still present after the pop-up is automatically closed. But I want to refresh that view. I have tried the following:

  1. Open document (try to use an existing tab = yes).
  2. Change filter (to open the record)
  3. Activate detail
  4. Refresh table

This does work. But is not practical because it clears the filters applied by the user. It also takes some time because it tries to re-open the view. Auto refresh is also not very practical in our case because the view can vary from a couple of records to thousands. 

Can you help me finding a solution which might be faster and does not clear the filters applied by the user?

Best answer by Jeroen van den Belt

After changing the default sort order in the model, you might have to trigger the GUI to pick up this change. If you restart the GUI, go to the screen, press Ctrl + S (sort), and then click ‘Default’. Does this help?

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

Forum|alt.badge.img+17
  • Moderator
  • 761 replies
  • November 1, 2023

Your best bet would probably be to try using change detection with auto refresh. Add a new column for the refresh action. Then the trigger could be something like where the new column equals 1.   
 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

In addition to what Erwin said, here is the corresponding documentation regarding change detection: https://docs.thinkwisesoftware.com/docs/sf/business_logic#change-detection


Forum|alt.badge.img+2
  • Author
  • Sidekick
  • 12 replies
  • November 2, 2023

Change detection works like a charm. 

But I’ve encountered another issue: 

The selected row ‘moves’ to the bottom of the screen after refreshing. The scroll bar moves in such way that the selected row is always the second to last row previewed on the screen.

I’ve changed the default sort order of the view, thinking it would solve the issue. But it didn’t unfortunately. Do you know if this can be fixed? 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

After changing the default sort order in the model, you might have to trigger the GUI to pick up this change. If you restart the GUI, go to the screen, press Ctrl + S (sort), and then click ‘Default’. Does this help?

 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @Ezgi Esen, did my reaction help you out, or do you still need assistance?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings