I am facing a challenge with my bootstrap datatable where one row (Product) contains a large amount of data and currently expands downwards, taking up a lot of space.
https://i.sstatic.net/BryzM.png
My goal is to make the Product column expand to the right instead of down, adjusting the width to fit the data. I have tried using this CSS style:
<style> td { white-space: nowrap; } </style>
However, this style affects all columns, and I am looking for a way to style only the Product column to expand to the right, possibly displaying the data in two lines for a more compact view.
https://i.sstatic.net/vxt7d.png
Is there a method to achieve this specific styling for the Product column in my datatable? Perhaps allowing it to grow in width and display multiple lines of text without affecting the other columns?