• Post Reply Bookmark Topic Watch Topic
  • New Topic

Wrapping the output of a outputText embedded in a DataTable  RSS feed

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an outputText Embedded in a dataTable, Sometimes it retrieves data that is so long from the database and displays it as one long line,is there a way i can get the
outputText to output on a new line if the Data retrieved is longer than a specified length
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give the cell a fixed width.
You can use CSS for that.
 
Chella Arun Raja Jayaraj
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use inlinestyle= "word-break:break-all" inside the column content. Hope it will resolve your issue.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This breaks long words, it does not wrap long text.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!