Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Retry listgrid update when network is down?

    Hello,

    I have a Listgrid that is updated every 30 seconds with this code:

    Code:
    <script type="text/javascript">
    		function updateGrid()
    		{
    			grid.invalidateCache();
    		}
    	
    		window.setInterval( 'updateGrid()' , 30000 );	
    	</script>
    Some users are reporting that sometimes the "Finding records that match your criteria..." doesn't go away and they have to refresh the browser window. It seems to be caused when there is a temporary network problem ( Example: proxy server restart ).

    Is there something that i can't change to avoid this behaviour?

    #2
    I think that RPCRequest.timeout *or* RPCManager.defaultTimeout property would be the solution for you.
    Check the docs

    Comment

    Working...
    X