Jump to content

Recommended Posts

Posted

How can i refresh a grid from server.

 

The eventalerter fires when new data inserted, then i like to

refresh the grid on clientside.

 

To close and open and or refresh the dataset in uniguimodule

isn't the problem, only the datagrid dosen't refresh.

Posted

Do I understand right: You want to "push" changes from the server to the client (without that the client has sent a request to get this)?

 

In UniGui/Web you can only answer to a request from the client!

 

You can use an UniTimer, use websockets (HTML5) or use "Long Polling" (see here)

Posted

Hi Oliver,

 

thanks for your tip with timer.

 

The eventalerter set a variable in unimainmodule.

 

The timer on the form look at the state of the variable

and if it set as true then refresh the grid.

It works fine and is enoth for the monitor app.

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...