Solved

Refreshing data using auto-edit in grid

  • 6 June 2023
  • 2 replies
  • 70 views

Userlevel 1
Badge +2

I am using the Windows GUI

GIF with an example of what goes wrong: https://imgur.com/x1l7De5

I have a list in a grid where only 1 record can be the standard. Using the handler i make sure other records who were standard are disabled when another record is made standard. The downside is the refresh of the data is not working right. I can understand it going wrong going from tick to tick, because i am never really leaving a row without going into edit mode of the next. But when i do click away from an updated record nothing happens, unless i click on that record. It only really refreshes all data when i press F5.

icon

Best answer by Anne Buit 6 June 2023, 13:51

View original

This topic has been closed for comments

2 replies

Userlevel 7
Badge +5

Hi Guido,

The full refresh while editing in the grid has been disabled by default. The full refresh can have side-effects which may cause the user to perform unintended changes.

For instance, when the list is sorted on the Std. column it can cause rows to change position, causing the user to check the wrong checkbox.

If you are confident such problems will not occur, you can set the extended property GridEditUpdateUsingRefreshOption to yes.

More info in the related release notes

Userlevel 1
Badge +2

Works like a charm, thank you Anne!