show nothing until filter is selected
show nothing until filter is selected
54696d20
Posts: 75Questions: 18Answers: 0
Using this example http://live.datatables.net/tobabovo/19/ I'm looking into how to NOT show data until someone selects a filter. In this example Grade
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @54696d20 ,
You can use jQuery's
hide()
andshow()
methods as in this here.Cheers,
Colin
Thanks @colin I probably should have stated that I knew that way. Didn't know if you had something built in to where you could still show the table, but have a default message stating "select filter to view" Kind of like when you have nothing to show and you can use 'emptyTable' to show the message.
Hi, nope, there's nothing like that, I'm afraid. The control is outside the scope of the table so yo would need to do that method in the example,
C