GIGJ.COM
welcome to my space
X
Personal Injury | Languages | Soups | Photography | Email | Prepress | Exotic Locations | Computer Games | Related articles
Search:  
Welcome to:gigj.com
NAVIGATION - HOME

Text wrap in table row

Published by: cfz 2010-03-15

  • 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

    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Text wrap in table row , Please add it free.
    About us |Contact us |Advertisement |Site map |Exchange links
    Copyright© 2008gigj.com All Rights Reserved