Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Can Grow Like Crystal Report
Can Grow Like Crystal Report [message #707966] Tue, 02 August 2011 09:21 Go to next message
cbr125x  is currently offline cbr125x
Messages: 34
Registered: July 2011
Member
Hii BIRT Expert,
is there a way to set property "can grow" like crystal report in BIRT Report?
i load some long string, but the string only shown half of it. thx
Re: Can Grow Like Crystal Report [message #708254 is a reply to message #707966] Tue, 02 August 2011 15:38 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

The default behavior in BIRT is to word wrap on white space. You can
use a style to prevent this, but it sounds like you want the wrap. Is
there white space in the text? If not you could use a text element
instead of a data item and set the expression to something like:

<div STYLE="word-wrap:
break-word"><value-of>row["mycolumn"]</value-of></div>

Make sure to set the type to HTML in the drop down at the top of the
text element.

Jason


On 8/2/2011 5:21 AM, cbr125x wrote:
> Hii BIRT Expert,
> is there a way to set property "can grow" like crystal report in BIRT
> Report?
> i load some long string, but the string only shown half of it. thx
Re: Can Grow Like Crystal Report [message #708606 is a reply to message #708254] Wed, 03 August 2011 01:40 Go to previous message
cbr125x  is currently offline cbr125x
Messages: 34
Registered: July 2011
Member
Jason Weathersby wrote on Tue, 02 August 2011 11:38
The default behavior in BIRT is to word wrap on white space. You can
use a style to prevent this, but it sounds like you want the wrap. Is
there white space in the text? If not you could use a text element
instead of a data item and set the expression to something like:

<div STYLE="word-wrap:
break-word"><value-of>row["mycolumn"]</value-of></div>

Make sure to set the type to HTML in the drop down at the top of the
text element.

Jason


On 8/2/2011 5:21 AM, cbr125x wrote:
> Hii BIRT Expert,
> is there a way to set property "can grow" like crystal report in BIRT
> Report?
> i load some long string, but the string only shown half of it. thx


Thx Jason it works, btw i also do using data element and i binding the row that i want to that data element
Previous Topic:Multiple versions
Next Topic:adding jars in the classpath of the engine
Goto Forum:
  


Current Time: Thu Oct 23 21:26:59 GMT 2014

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

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