Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Insert new line in Table Head Label(Define a line break in a label created by a script)
Insert new line in Table Head Label [message #1802621] Tue, 12 February 2019 22:18
Steffen Schuler is currently offline Steffen SchulerFriend
Messages: 1
Registered: February 2019
Junior Member
I would like to insert a line break in Label inside a table cell.
The label is created by following script:

"Interest Expense" + "(" + params["To Currency"].value + ")"

Output shall look like:

Interest Expense
(Lease Currency)

instead of

Interest Expense(Lease Currency)

I tried things like

"Interest Expense" + String.fromCharCode("U+000A")+ "(" + params["To Currency"].value + ")"

"Interest Expense" + "\n"+ "(" + params["To Currency"].value + ")"

"Interest Expense\n" + "(" + params["To Currency"].value + ")"

nothing worked so far.
Anyone an idea how to insert the newline?

Previous Topic:Parameters
Next Topic:Row numbers for crosstab in a table
Goto Forum:

Current Time: Thu Jan 23 06:00:41 GMT 2020

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

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

Back to the top