Do you know how to dynamically/later hide or show column when datatable's source is javascript?
this method works for tables created with html source but not with method created with javascript source?
var table = $('#example').dataTable({
"data": source,
"columns": columns,
"columnDefs": [
{
"targets": [ 0 ],
"visible": false, // no worries for hiding column at start
});
var col = table.column("1").visible(false); //error if source is javascript