hide data until searched
hide data until searched

Hey,
I'm trying to see if this is possible. I'm looking to provide the data table information, but don't show the user until they selected a filter option and then just show that data filtered.
http://live.datatables.net/tobabovo/1
As you can see I have a filter tab. In my current setup. I'll have a filter section where the user can select what they want to see. I'd be using something like https://datatables.net/examples/api/regex.html, but I'll have checkboxes
This question has an accepted answers - jump to answer
Answers
You can hide the table with jQuery's
hide()
method. I would try it insideinitComplete
for each table you want hidden, for example:Then
show()
the table once you are ready to search.Not sure if that is answering your questions.
Kevin
Thanks @kthorngren
I know how to do it with js, but just wanted to make sure I wasn't missing something that you had already built.