I found a tutorial
here on how to use the quicksearch.js plug-in to filter multiple columns in gridview . It works in that it filters each column individually. That is, if I filter on a column, that column filters as expected. But when I try to further filter on a another
column, the first column's filter is lost. The demo on the tutorial retains each columns filter and continues to limit the records based on additional column filters. I am not strong in javascript or jquery. I would also like to fix the gridview header
position while scrolling if anyone knows right off, but my priority for this post is the filter. Any assistance is greatly appreciated. Here's my code.
Member
2 Points
33 Posts
problem with quicksearch.js plug-in with multiple column gridview search
Jul 26, 2015 09:40 AM|bukkybu|LINK
I found a tutorial here on how to use the quicksearch.js plug-in to filter multiple columns in gridview . It works in that it filters each column individually. That is, if I filter on a column, that column filters as expected. But when I try to further filter on a another column, the first column's filter is lost. The demo on the tutorial retains each columns filter and continues to limit the records based on additional column filters. I am not strong in javascript or jquery. I would also like to fix the gridview header position while scrolling if anyone knows right off, but my priority for this post is the filter. Any assistance is greatly appreciated. Here's my code.
ASP
Javascript
C#
All-Star
18815 Points
3831 Posts
Re: problem with quicksearch.js plug-in with multiple column gridview search
Jul 27, 2015 07:32 AM|Nan Yu|LINK
Hi bukkybu ,
I test the demo from the tutorial ,it seems that quicksearch.js cannot fit multi conditions for gridview:
If you want multi column filter gridview,please refer to links below:
http://www.codeproject.com/Articles/700874/Multi-Column-Filter-GridView-With-Effective-Paging .
http://www.codeproject.com/Articles/26969/GridView-Multiple-Filter-AJAX-Control .
You could write a CSS property using class selector method and apply for header in gridview ,please click here for details and demo .
Best Regards,
Nan Yu