EasyUI Forum

General Category => General Discussion => Topic started by: rangaNadha on June 09, 2020, 10:48:27 PM



Title: DataGrid: Can server send update with new list without client req from browser?
Post by: rangaNadha on June 09, 2020, 10:48:27 PM
Hi All,

Is there any way we can send new list to the UI from server, if third party application updates data in database?

Scenario:
ActiveMQ(got new message in queue)  -> Java listening to that queue and read the message -> updated in Database -> this new list data can we send back to the UI datagrid without making request from browser?

 


Title: Re: DataGrid: Can server send update with new list without client req from browser?
Post by: stworthy on June 11, 2020, 02:25:26 AM
The request must be made from the browser, the http will be broken after the request is made.


Title: Re: DataGrid: Can server send update with new list without client req from browser?
Post by: sky-t on June 12, 2020, 02:57:33 AM
Hi,

you could try to use websockets to send new information from server to browser without request from browser.