Trigger PHP data grid refresh in time interval

Add the following javascript somewhere on your page to refresh grid in an interval.

<script type="text/javascript">
// REFRESH EVERY 1 MIN
window.setTimeout( refreshGrid, 60000); 
          function refreshGrid()
          {
              var grid = jQuery("#TABLE_NAME");
              grid.trigger("reloadGrid");
   
             window.setTimeout(refreshGrid, 60000);
  
          }
</script>

Feedback and Knowledge Base