Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35273

Adjusting column width

$
0
0

How can I set all table's column width to the width of the one having the maximun size?
After table initialization some cells contains numbers with different precision making the column's width not to have the same size in px. All columns need to be same width size.
I have tried $('mytable td').css('width', maxColSize+'px') with no success.

Any suggestion?


Viewing all articles
Browse latest Browse all 35273

Trending Articles