Datatable. visible () does not work

0

I'm using this library angular-datatables , but the visible function is not hiding the desired columns when loading the page.

Here is the code that should hide the columns:

$(document).ready(function () {
    var column = $('#DataTables_Table_0').DataTable().columns([1,2,3]).visible(false);
});
    
asked by anonymous 13.06.2016 / 21:47

0 answers