Data table auto width header misalignment issue

Data table auto width header misalignment issue

andylandyl Posts: 3Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Binding method

$(document).ready(function() {
$('#sortable').dataTable( {
"sScrollY": "310px",
"sScrollX": "250px",
"bPaginate": false,
"bInfo": false,
"bAutoWidth": true,

} );

} );


Issue is sScrolly and sScrollx cause table header misalignment. If I remove sScrolly and sScrollX header displayed properly.
Kindly let me know if anything specific need to be done for header alignment.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Link to a test case please: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
  • andylandyl Posts: 3Questions: 0Answers: 0
    Dear Allan,

    Please find test case link for misaligment header issue.

    http://live.datatables.net/oqagob

    Regards,
    Anand
  • andylandyl Posts: 3Questions: 0Answers: 0
    It would very much helpful if the above issue is figure out and resolved.
    Thanks & Regards,
    Anand
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The HTML is invalid there. I'm a bit surprised DataTables isn't thronging and error in fact. It looks like it is incomplete.

    Allan
This discussion has been closed.