Hi ,
I have one reactive web page which display data in a datagrid. The requirement is to refresh the page after a certain time and load the latest/refreshed data from the database.
Can anybody help me to identify the solution of the above mentioned problem.
Thanks,
Avijit
Hi Avijit,
Check this post,
https://www.outsystems.com/forums/discussion/70084/how-to-autorefresh-specific-webblocks-of-a-webpage-every-x-seconds-in-reactive-we/
Hope this helps,
Kind Regards,
Hey Avijit,
Are you able to solve the problem?
Hello Avijit
Hope you are doing well.
You can do this with a Simple JS -
function myFunction() { setInterval('window.location.reload();', 3000); }
It is only work if you want to refresh the Browser Window in same interval. You can set this JS in a common block with autorun as page loads. Then with interval of set time it will keep working.
Please feel free to ask in case this JS Fails.
Else you can use this Component: https://www.outsystems.com/forge/component-overview/8460/autorefresh-reactive
Many Thanks
Hello Manish, Is it also a good idea to use Javascript for chat applications (reactive web)? I am building a Chat application, but when text is sent, the receiver has to manually refresh the page to receive the text. Thanks :)