Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to display HTML in a Table Column?(How to display HTML in a Table Column?)
How to display HTML in a Table Column? [message #503789] Tue, 15 December 2009 19:11
Richard Catlin is currently offline Richard CatlinFriend
Messages: 50
Registered: July 2009
Member
How would I go about displaying html in a Table Column? Is this possible?

Currently my dataset gets a String with html tags.

Thanks.
Richard Catlin
Re: How to display HTML in a Table Column? [message #503796 is a reply to message #503789] Tue, 15 December 2009 14:54 Go to previous message
Richard Catlin is currently offline Richard CatlinFriend
Messages: 50
Registered: July 2009
Member
I found the answer in the on-line help.

BIRT Report Developer Guide > Designing Reports using BIRT > Displaying Text

How to use a dynamic text element
1

Make sure the table or list in which you want to insert a dynamic text element is bound to the data set that contains the CLOB data. To verify or create the data set binding, perform the following tasks:
1

Select the table or list.
2

Choose Binding on Property Editor.
3

On the Binding page, in Data Set, select the data set. BIRT creates a column binding for each field in the data set.
2

Drag the dynamic text element from the palette, and drop it in the table or list.
3

On the expression builder, choose Available Column Bindings, choose the table under Sub-Category, then double-click the column binding that refers to the data set field that contains the CLOB data. Choose OK to save the expression.
4

In the layout editor, select the dynamic text element. On Property Editor, choose the Properties tab. Property Editor displays the properties of the dynamic text element.
5

Choose General properties, then choose one of the following values for Content type:
n

Auto
Choose this value if you do not know the format of the field contents. If the content contains HTML tags, BIRT Report Designer interprets it as HTML and displays the content correctly. If the content is plain text, BIRT Report Designer displays it correctly also.
n

HTML
Choose this value if you know that all the field contents are HTML.
n

Plain
Choose this value to display the field contents exactly as they appear in the data source. If the content contains HTML tags, BIRT Report Designer displays the HTML tags.
6

Preview the report to verify that the report displays the text from the specified data set field.
Previous Topic:Re: How to aggregate a string field?
Next Topic:How to set up trusted connection in BIRT?
Goto Forum:
  


Current Time: Thu Mar 28 09:21:09 GMT 2024

Powered by FUDForum. Page generated in 0.03453 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top