Hide all rows by default, show rows on search
Hide all rows by default, show rows on search

Hi All,
I'm looking to reverse the functionality of the search. I want all rows hidden by default, and then when a search term is entered, matching rows become visible.
Is this possible or will I have to write some jQuery to complete this?
Answers
DataTables' "search" is technically a filter rather than a search, since it removes items from a lost based on the input.
Two options spring to mind though:
Allan
Here's an example of Allan's first suggestion - it hides the rows when there's on search,
Colin