Adjusting column width

Adjusting column width

itassetsitassets Posts: 17Questions: 1Answers: 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?

This discussion has been closed.