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);
});