jQuery UI Widgets Forums Grid Disable Filter after Delay

This topic contains 5 replies, has 3 voices, and was last updated by  Dimitar 8 years, 5 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Disable Filter after Delay #73476

    user1397
    Participant

    Hey,

    I currently have a few jqxgrids implemented with filters and my users are running into an issue where the textbox filter is firing off a request to the server too quickly. The data takes a couple seconds to reach the user. In that time, any additional text they enter into the filter gets removed once the initial request has returned.

    If I was filtering on a column and began to type “product” and entered “pr” and then paused, the grid sends the request. I continue typing “oduct” and once the grid loads the first filter, “oduct” gets removed from the filter.

    Is there anyway to extend or even turn off the “auto-filter” and instead just let the user press “enter” or click out of the box to activate the filter?

    Disable Filter after Delay #73520

    Dimitar
    Participant

    Hi user1397,

    Do you experience this issue with our online Grid Server Filtering demo?

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Disable Filter after Delay #73529

    user1397
    Participant

    It is hard to tell. There isn’t a long enough delay between fetching data for me to type in a couple more characters. I’m noticing this is happening mostly on queries that take longer than a second.

    Disable Filter after Delay #73549

    Dimitar
    Participant

    Hi user1397,

    Please try setting the source property async to false.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Disable Filter after Delay #86376

    bora
    Participant

    Hi, is there any news on user1397’s question ?
    Setting async property to false is not the right choice for my scenario.

    Can i configure jqxgrid for filtering when enter key pressed ?
    I want to close auto filter after delay. Can i prevent auto-filter ?

    Thank you

    Disable Filter after Delay #86386

    Dimitar
    Participant

    Hi bora,

    You can try using the filter menu option instead of the filter row (set showfilterrow: false). Then you will be able to filter when the “Filter” button is pressed.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.