0
I’m using this library angular-datatables, but the function visible
is not hiding the desired columns while loading the page.
Follow the code that should hide the columns:
$(document).ready(function () {
var column = $('#DataTables_Table_0').DataTable().columns([1,2,3]).visible(false);
});
Are you using in Angular? This function is jQuery, you are using both?
– celsomtrindade
Yes, I am using both. But if I create a function and call it in the click for example also does not work.
– PauloFlesch