Column headers are not aligned with data

Column headers are not aligned with data

santysanty Posts: 1Questions: 0Answers: 0
edited November 2011 in General
Datatable body columns are not aligned with header, when loaded first time. When I click on header or pagination buttons it gets properly sized.
I wan't it to be aligned with datat when it gets loaded first.

I am using this initialization and haven't specified width to table columns. Table have data through html.

$('.table').dataTable( {
"bJQueryUI" : false,
"sPaginationType": "full_numbers",
"aLengthMenu": [[5, 10, 25, -1], [5, 10, 25, "All"]],
"bInfo" : false,
"bAutoWidth" : true,
"bStateSave" : true,
"bSort": true,
"iDisplayLength" : 5,
"sScrollX": "100%",
"sScrollY": "225px",
"sRowSelect": "multi",
"bScrollCollapse": false
});
This discussion has been closed.