Alignment issue between table body and table header

Alignment issue between table body and table header

KrutikaSKrutikaS Posts: 2Questions: 1Answers: 1

I have used a jquery-datatables plugin 1.10.12.
When there are more columns in table, it doesn’t display horizontal scroll initially and because of it, alignment gets disturbed. But whenever we make any interaction with table, it works absolutely fine.
To solve this issue we used this:
var timer = setTimeout(function(){
$('#'+tableID).dataTable().fnAdjustColumnSizing();
}, 10);

Now we are getting horizontal scroll initially, but the alignment issue still remains if there are more columns in table.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,891Questions: 1Answers: 10,530 Site admin

    Can you try 1.10.15 please? If that doesn't help, please link to a test case showing the issue.

    Allan

  • KrutikaSKrutikaS Posts: 2Questions: 1Answers: 1
    Answer ✓

    the alignment issue was coming due to garbage data. thanks anyways

  • allanallan Posts: 63,891Questions: 1Answers: 10,530 Site admin

    Thanks for posting back. Good to hear you have it working.

    Allan

This discussion has been closed.