0

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?

smartcaveman
  • 41,281
  • 29
  • 127
  • 212
Shaheer
  • 2,105
  • 4
  • 25
  • 39

1 Answers1

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' ) {
//alert('binding'); $(this).bind('recacheQs',e.cache); }
now whenever the data changes just do this $(your table).trigger('recacheQs');

Andrew Svetlov
  • 16,730
  • 8
  • 66
  • 69
Shaheer
  • 2,105
  • 4
  • 25
  • 39