jQWidgets Forums

jQuery UI Widgets Forums Grid Grid reload from JSON shows 'loading' image

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • zircon
    Participant

    As a test, I have a grid that is bound to data read from a text file in JSON using a C++ CGI script. This script runs once every second. using version 2.2.1 the grid data appears static and the ‘LOADING’ image never shows.

    At version 2.3 though, every time the CGI script runs I get the ‘LOADING’ image briefly on the grid so the grid is ‘flashing’ every second.

    No change to any of my code except for switching the contents of the jqwidgets folder.

    Has anyone else noticed this? Has something altered significantly in between 2.2.1 and 2.3?


    Peter Stoev
    Keymaster

    Hi zircon,

    If you are loading/reloading data with ajax from external file, you should see the loading image. This is the default behavior and is by design. In the previous versions, it was working only the first time due to a rendering issue. The loading image is defined in the .jqx-grid-load CSS class.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    zircon
    Participant

    Thanks for your reply. At version 2.2.1 the screen refreshed without the loading image and appeared static which looked much better than obviously reloading. At 2.2.1 any changes to the JSON text file showed in the grid without an obvious refresh. So, this appears on the face of it to be a step back.


    Peter Stoev
    Keymaster

    Thank you for the feedback.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.