Start by default hidden table?
Start by default hidden table?
Cerdito
Posts: 10Questions: 1Answers: 0
Its possible start by default my table hidden, and when i click on button hide and show toggle? Thanks.
With this code: https://datatables.net/extensions/fixedheader/examples/options/show-hide.html
This discussion has been closed.
Answers
Sure, you can use inline CSS to hide the
table
or use something like this to hide thetable
before initializing Datatables:http://live.datatables.net/nopifamu/1/edit
You will probably need to change
var visible = true;
tovar visible = false;
in the example code you lined.Kevin
@kthorngren I tried var visible = false; but doesn't work
Please provide a test case showing what you are trying to do so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin