riklomas / quicksearch

A jQuery plugin for searching through tables, lists, etc quickly
http://www.lomalogue.com/jquery/quicksearch/
680 stars 261 forks source link

Using quicksearch based on a dynamically rendered table #4

Open ZachStubenvoll opened 14 years ago

ZachStubenvoll commented 14 years ago

Hey Riklomas, your quicksearch has been extremely helpful in finding information quickly, but I am new to jquery and have implemented the search ability in a dynamically rendered table. The table does not use elements and I cannot define them without messing up the rendered table. Is there any other way to search on a single column besides using your selector: 'th'?

patcon commented 13 years ago

"Does not use elements"? How so? As in it doesn't us the "th" element, just "td"? You can use "td:first" or "td:eq(0)" to search the first column, or td:eq(2) to search the 3rd column (the eq() selector is zero-indexed).