Can someone kindly explain how to make a particular cell wrap its contents?
If I have a line of text that extends longer than a cell in a row, the rest of it is just cut off. How can I wrap it to a new line in the same cell/row?
Thank you! It works
Table is not designed to display arbitrary amounts of text. However, a cell's text is treated as HTML so you can "format" the content as needed. For example, with a CellRenderer, you can insert HTML line breaks.
You can make the text of a cell wrap by modifying the CSS for table. You could try something like this:
.my-tbl-data .my-tbl-item-cell-overflow {
white-space: normal;
overflow: visible;
}You would most likely would not want to change all tables, so you could prepend a style or id to the CSS:
.#foo .my-tbl-data .my-tbl-item-cell-overflow {
white-space: normal;
overflow: visible;
}
Nortel Unveils Vision, Strategy for Israeli High-Performance Net
Busy Friday Leads to Strong Close for Net Stocks
|