I have a scrollableDataTable with header values like "Business Supported", "functional role & title".
now i have to show header values in two separate line like "Business" and "supported" should come in two different lines in header. any suggestions?
<rich:column sortable="false" width="50px">
<a4j:commandLink value="Business Supported"
Generally speaking, if you make the column narrow enough, the browser's HTML formatter will automatically drop down to a second line. I'm presuming that in this case that didn't work, since that's basically what you're set up for.
The next-most-promising approach is to place the value text as body text between open/close commandLink tags, if that's permitted instead of using the "value=" attribute. I'm pretty sure it is, because of the third option, which is:
Place the text in a subsidiary element within the commandLink element body. I believe that you can do this to support more complex "hot spots" such as mixed text and graphics.
Customer surveys are for companies who didn't pay proper attention to begin with.
hm..I tried but above solutions also does not work. actually in my case columns are dynamic in nature so even though on screen "Business Su" is visible, I can drag column further to see full name but instead of it want to see "Business" and "Supported" come in two lines(when space is less) and shown in one line when column is dragged (using mouse) to increase its width.