Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

datatables change width of columns

$('#example').dataTable( {
  "autoWidth": false, // might need this
  "columns": [
    { "width": "20%" },
    null, // automatically calculates
    null  // remaining width
  ]
} );
Source by datatables.net #
 
PREVIOUS NEXT
Tagged: #datatables #change #width #columns
ADD COMMENT
Topic
Name
7+3 =