jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Refreshing Grids automatically
This topic contains 12 replies, has 3 voices, and was last updated by zircon 12 years, 8 months ago.
-
Author
-
hello,
1.Is there a way to automatically refresh the grid at a particular time interval.The Grid’s ‘updatebounddata’ method can be used for re-binding the Grid. You can call this method in a setInterval.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI am already doing this every second on a grid. However, my browser eventually grinds to a halt. Every time the grid is refreshed the Event Listener Count increases by one. The DOM Node Count does as well but this periodically drops to a low value. The Event Listener Count just keeps on increasing as does the memory usage. I have no functions executing on bindingcomplete, the only thing happening is the update to the bound data. I am using version 2.2.1
I have tried with 2.3.1 and the same problem is there.
I can set up an updatebounddata on a button click, every time I click the button the Event Listener Count increases but shows no signs of decreasing.
Thanks for the feedback. We’ll test a scenario where the Grid is refreshed every second without calling its destroy method. Providing a small sample in which this can be observed locally will be appreciated. You can send the sample to support@jqwidgets.com including your license key in the support e-mail. I suppose that you have one because you are positing in the Forum more than 30 days which is the evaluation period of our software.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI have no key as yet, we are still evaluating this for a project that has been approved but not signed yet.
The scenario is simple to reproduce, it may be quicker for you to create a couple of files than for me to break out the code from my files. I am restricted in the office here to what and where I can place files.
I have a grid with data read from a file by a CGI script as JSON. Button on the page that calls the updatebounddata on the grid.
Perhaps there are others using this forum that already have grids that can just set an update interval and view the results? I am using the Developer Tools in Google Chrome, looking at the Memory Usage in Timeline.
As I already said, we’ll test this and debug whether there’s an issue or not.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHello, is there any progress on this?
Memory leak in Chrome and very bad in IE, doesn’t look to be a problem in FF or Opera.
Any news on this?Hi zircon,
Information about new versions, releases and bug fixes is posted in the http://www.jqwidgets.com/blog/ and Release History. As you can see, the latest version is from July-23-2012 i.e there are no updates since then. Regarding the reported issue in this topic: We have not still reproduced and confirmed it. In addition, according to our records your 30-day evaluation period is expired and you should not expect any response to your questions by our Support Team.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comWill this problem be investigated and resolved if we purchase a licence?
-
AuthorPosts
You must be logged in to reply to this topic.