jQWidgets Forums

jQuery UI Widgets Forums Grid Calling 'applyfilters' appears to be a blocking call (pauses UI)

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 1 month ago.

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

  • mattcash
    Participant

    Hello,

    I am attempting to build custom filters based on saved user data when loading a screen. I do this many times without issues, but this particular grid holds a massive amount of editable data.

    When I call ‘applyfilters’ on the grid during loading, it takes a few seconds to apply the filters. I am ok with this, except I notice this is a blocking call, and the user is unable to do anything on the screen while the filters are being loaded. This presents the appearance that the screen is broken to the user.

    My solution is to open a jqxLoader before calling ‘applyfilters’ and closing it when done. The problem is that I cannot properly tell when this functionality has completed. The ‘filter’ event fires continuously throughout the process and never actually fires again when the process is completed.

    Is there a way to know when the filter has been applied? Is there a way for this call to not be UI blocking?

    Thanks!


    Hristo
    Participant

    Hello mattcash,

    You could try with the implementation of the bindingcomplete event.
    Please, take a look at this example.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.