Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     column title with multiple lines in htmltable

Read-Only Read-Only Topic
Go
Search
Notify
Tools
column title with multiple lines in htmltable
 Login/Join
 
Member
posted
Hi,
I am using htmltable in maintain (7.6.2) and the column titles are just too long and there is a need to split them in multiple lines. I tried using '\n', that splits the line in maintain development environment but doesn't split it when its compiled and being run in the browser. Is there anything that can be done?

Thanks
 
Posts: 5 | Registered: October 26, 2006Report This Post
<Naak>
posted
Hi Hassan,

Try this example.

TABLE FILE EMPDATA
SUM
SALARY
BY DEPT AS 'DEPARTMENT,DEPT,DEPART'


END
 
Report This Post
Member
posted Hide Post
Hi Naak,
Thanks for your reply, do you know how to do this in maintain's html table?. Thanks
 
Posts: 5 | Registered: October 26, 2006Report This Post
Master
posted Hide Post
Hassan
I've tried and tried everything I can think of. Nothing seems to work at runtime. The only solution that I have for you is to turn off the HTMLTable's headers and place Text Boxes containing the multiline text above each column. This will work fine as long as you don't scroll the HTMLTable left / right.

One word of advice. If you do this technique, create the text for the multi-line text boxes in an editor and then cut and paste it into the Text object. It is easier then trying to format it before time.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Member
posted Hide Post
Mark, Thanks a lot Smiler
 
Posts: 5 | Registered: October 26, 2006Report This Post
Expert
posted Hide Post
I don't know Maintain, but can you use CSS styling in the HTMLTable? Perhaps Maintain sets the css tag white-space property to nowrap. Try white-space: normal to disable the nowrap. Or, try adding an HTML break
.

These are a couple of wild guesses.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     column title with multiple lines in htmltable

Copyright © 1996-2020 Information Builders