autorefresh grid

Hi,

I was looking for a function which will update the grid every 2 seconds whenever there is a SQL db changes. i.e. even if the DB value changed outside of dhtmlx, it should update. or how to refresh only the changed rows/cells every 2 seconds?

Full solution will require both server side and client side code, because dhtmlxgrid is fully client side it can’t operate on server side
Component provides updateFromXML method - it can be used to load modification from server side

window.setInterval(function(){
mygrid.updateFromXML(feed_url);
},2000)