Jump to content

Event handler for Refresh action on DBGrid


bbosnjak

Recommended Posts

I'm using TMS Software Aurelius with UniGui.  

 

When the user clicks the Refresh icon at the bottom of the TUniDBGrid, I need to be able to handle this to flush the Aurelius ObjectManager so that it refreshes the data from the database instead of its internal cache (this is so that changes made in other sessions are picked up).

 

The TAureliusDataSet component has a BeforeRefresh event, but it doesn't fire when the user clicks the Refresh button.

 

I can't find any event on the TUniDBGrid itself, or the ClientEvents that correspond to the click of Refresh button.

 

What's the magic required to trigger an Ajax event when the user clicks the Refresh button?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...