View Full Version : Grid update

9 Oct 2007, 8:30 AM

I had a grid/list that is dynamically updated through a ruby server side. I used the built in javascript setTimeout(n ms) function to do the datastore.reload; however, I am not sure if this is the most elegant way to do it (updating the whole grid instead of changes only). Also, I'd like the update not to be obstructive; in other words, I don't want the grid to scroll all the way to the top when refreshing the page if the user was looking at an item at the bottom of the grid. Please advice and let me know if you need me to post the code so you guys can take a look at it.


9 Oct 2007, 9:58 AM
The table actually re-renders every time data is refreshed, thus i don't think it's possible.