This page gives a demo for using searchjs. Look at the source to this page to see how it is done.
Click on a row to see the results of applying that search to the data above.
Results: