jQuery UI Widgets Forums Grid JqxGrid Update Interval

This topic contains 6 replies, has 3 voices, and was last updated by  svetoslav_borislavov 6 months, 4 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • JqxGrid Update Interval #123764

    akamai
    Participant

    HI,

    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.

    Thank you,
    Akamai

    JqxGrid Update Interval #123765

    Hi,

    Are you trying to do something like this: http://jsfiddle.net/wn6fzg9v/?
    Could you, please send us a quick demo of the problem?

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

    JqxGrid Update Interval #123768

    akamai
    Participant

    Hi,

    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.

    Kind regards,
    Jess

    JqxGrid Update Interval #123769

    akamai
    Participant

    Hi,

    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.

    Thank you,
    Jess

    JqxGrid Update Interval #123773

    Hi,

    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 svetoslav@jqwidgets.com

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

    JqxGrid Update Interval #123776

    akamaichris
    Participant

    Hi,

    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 !

    JqxGrid Update Interval #123780

    Hi,

    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

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.