Jump to content

Dioes refresh button on the bottom of a TUniDBGrid reopen dataset?


Tokay

Recommended Posts

The data in the DB chaneges. I try to refresh Grid with it refresh button but nothing is happend. The changes are visible only after the form is reopened. I try to add some code to afteropen of the connected dataset, but this code fired only once when form is opened.

Link to comment
Share on other sites

  • 3 months later...

i'm having this problem as well, it seens that refresh button don't re-open the dataset.

steps to reproduce :

1) Open a dataset  ( select * from Clientes order by idCliente desc) ( last record inserted : 1000 )
2) Insert and commit record 1001 using MySQL workbench
3) Hit refresh button on UniDBGrid, doesn't show record 1001, only works if i explicit call FDQuery1.refresh.
 

Link to comment
Share on other sites

9 minutes ago, Tokay said:

I have opened the bug in tracker, and waiting for fixing

We will check

9 minutes ago, Tokay said:

as a temporary solution you can hide the button and do refresh with external control.

Also you can try to use this approach I think:

http://forums.unigui.com/index.php?/topic/4425-grid-refresh-button/&do=findComment&comment=48748

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...