Saturday, 31 October 2015

Wraping content of output text in ADF

This blog we will see how to wrap the value of output text.
Some time in real life development we will get a requirement, to wrap the value of output text if the value is long.

We need to add the inline style class like the below.

inlineStyle="width:50px;display:inline-block;word-wrap:break-word"

Now run your page as per the width it will wrap the text.

Thanks...

1 comment:

  1. Hi I have a an issue wrapping the texts in the column by using below line :

    inlineStyle="width:170px; max-width:170px;display: block;overflow-wrap: break-word;"

    the column in one of the table gets aligned whereas in another table which uses same output text and style causes issue in aligning the text inside the column

    ReplyDelete