jQuery UI Widgets › Forums › Grid › Disable Filter after Delay
Tagged: angular grid, clear, delay, filter, filtering, grid, jquery grid, jqxgrid, server side filtering
This topic contains 5 replies, has 3 voices, and was last updated by Dimitar 9 years, 3 months ago.
-
Author
-
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?
Hi user1397,
Do you experience this issue with our online Grid Server Filtering demo?
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/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.
Hi user1397,
Please try setting the source property async to false.
Best Regards,
DimitarjQWidgets team
http://www.jqwidgets.com/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
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,
DimitarjQWidgets team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.