Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatables change width of columns

Javascript
1
2
3
4
5
$('#example').dataTable( {
  "columnDefs": [
    { "width": "20%", "targets": 0 }
  ]
} );
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatables #change #width #columns
ADD COMMENT
Topic
Name
4+3 =