jQuery UI Widgets › Forums › Grid › JqxGrid Update Interval
Tagged: jqxGrid ;, Refresh Rate
This topic contains 6 replies, has 3 voices, and was last updated by svetoslav_borislavov 6 months, 4 weeks ago.
AuthorJqxGrid Update Interval Posts
October 27, 2022 at 3:09 am JqxGrid Update Interval #123764
I am trying to refresh the grid for a certain interval, but whenever the setInterval function runs the grid freezes for like 1-2 secs.
I would like to know the best solution for this issue, the main goal is the refresh the grid, re-fetch the data from the database to display any updates from other users.
AkamaiOctober 27, 2022 at 5:29 am JqxGrid Update Interval #123765
Are you trying to do something like this: http://jsfiddle.net/wn6fzg9v/?
Could you, please send us a quick demo of the problem?
https://www.jqwidgets.com/October 27, 2022 at 10:21 pm JqxGrid Update Interval #123768
Yes, the link you’ve sent is exactly what I want to achieve.
I’ve studied the code, there’s one thing different, the data being generated on that link is assembled from the client-side,
while my app fetches data from the server.
I am trying to replicate the process from the link above with the data being fetched from the server.
I will try to provide a demo of the problem.
JessOctober 28, 2022 at 3:24 am JqxGrid Update Interval #123769
I’ve seen the demo you provided, the grid still flickers when being refreshed, is there anyway to prevent that.
I would like to refresh the grid as if nothing happens but the changes in data.
JessOctober 28, 2022 at 11:14 am JqxGrid Update Interval #123773
How many rows do you have in the new dataset?
Look at this demo with 100000 rows per two seconds: http://jsfiddle.net/86xfe1rL/
You can send further info here firstname.lastname@example.org
https://www.jqwidgets.com/October 28, 2022 at 9:49 pm JqxGrid Update Interval #123776
To clarify our question, every time setInterval executes there is a brief grid flicker
Which can see on the JQX Fiddle Links you posted above
In our case, we have the screen flickering every 10 seconds which is distracting to user
Is there a way to avoid this flicker but just update the data in background ?
Or maybe only a flicker if there is new data received but no flicker otherwise ?
thanks !October 31, 2022 at 5:19 pm JqxGrid Update Interval #123780
Could you, please try to update the data this way: http://jsfiddle.net/z1wgmer3/
This can be a workaround if you have lots of data. In the example the grid is updating with 100000 rows
You must be logged in to reply to this topic.