Columns width is asymmetrical in multiple tables

Columns width is asymmetrical in multiple tables

laoeqlaoeq Posts: 2Questions: 1Answers: 0

I using multiple tables on my view

$(document).ready(function() {
$('table.display').DataTable({
"paging": false,
"info": false,
"searching": false
});
});

But the problem is with width. Columns width is asymmetrical, there is any solution for this?

This is how columns looks like: http://postimg.org/image/6ma262ebx/

Answers

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    It looks like you have three separate tables - is that correct? If so you would need to use a fixed layout to have them work as expected. Without a test case (as required by the forum rules) its difficult for me to say more.

    Allan

  • laoeqlaoeq Posts: 2Questions: 1Answers: 0

    Yes tables are separte. If i will set constant value for width, then i will lost responsively.

  • allanallan Posts: 63,791Questions: 1Answers: 10,513 Site admin

    You can try setting a width attribute for your columns as a percentage value. However, this is more of a general HTML / CSS issue that specifically DataTables, so I'm not sure how much help I will be able to offer here.

    Allan

This discussion has been closed.