I am using jQuery quickSearch to search multiple tables on a single page (one for each). The problem is some of the data can dynamically change in some of the table fields. I want quick search to work with that but it doesn't. Any help?
Asked
Active
Viewed 543 times
1 Answers
0
Just got a solution
add a "recache" option in the quicksearch plugin and do this in the end of the quicksearch plugin file:
if( options.recache != null && typeof options.recache == 'function' )
{
now whenever the data changes just do this
//alert('binding');
$(this).bind('recacheQs',e.cache);
}
$(your table).trigger('recacheQs');

Andrew Svetlov
- 16,730
- 8
- 66
- 69

Shaheer
- 2,105
- 4
- 25
- 39