You need to define the min-width property for your nowrap class, for example:
td.nowrap { min-width: 129px; }
The value 129px was calculated for your sample script.
Since the contents inside the table may change, the best way (maybe not the most "clean") to do this is to calculate the required minimum width td when loading the page and set the value to min-width.
In your example, Bootstrap makes the first width of 300 pixels, so it's pretty hard to compute. I will try to get a jQuery example, ready for you later today.
source share