I have a problem controlling the width of a table using the jQuery DataTables plugin. The table is supposed to be 100% of the container width, but ends up being an arbitrar
This is my way of doing it..
$('#table_1').DataTable({ processing: true, serverSide: true, ajax: 'customer/data', columns: [ { data: 'id', name: 'id' , width: '50px', class: 'text-right' }, { data: 'name', name: 'name' width: '50px', class: 'text-right' } ] });