Refresh Grid in Layout without page refresh

Hello, trying to refresh the data on the grid every 30 seconds from MYsql. Tried using setInterval, but to no avail, any ideas team?




You should clear old data before the loading.
For example:

// 1 mygrid.clearAll() myfrid.load(url) // 2 mygrid.clearAndLoad(url) // 3 mygrid.updateFromXML(url)

Thanks again!