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
Sure, you can use inline CSS to hide the table or use something like this to hide the table before initializing Datatables:
You will probably need to change var visible = true; to var visible = false; in the example code you lined.
var visible = true;
var visible = false;
@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.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.