Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

data tables ajust columns after init

Javascript
1
2
3
4
$("#table1").on('init.dt', function () {
  $("#table1-container").addClass("d-flex");
  $('#table1').DataTable().columns.adjust();
});
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #data #tables #ajust #columns #init
ADD COMMENT
Topic
Name
9+9 =