|
Re: Wrap text in a cell [message #736222 is a reply to message #736212] |
Thu, 13 October 2011 20:37 |
|
Can you try using a dynamic text element instead of a data item?
Jason
On 10/13/2011 4:11 PM, Amitava wrote:
> I have a report layout which contains a whole bunch of columns some of
> which might contain big data. As a result I need wrap text feature
> inside a cell but there is none in BIRT that I can find. I find BIRT is
> actually truncating the cell data.
|
|
|
|
Re: Wrap text in a cell [message #737145 is a reply to message #737135] |
Fri, 14 October 2011 18:01 |
|
Any way you can write a report that uses the sample db or a scripted
data set that shows the issue, that I can run?
Jason
On 10/14/2011 1:48 PM, Amitava wrote:
> No change; it is truncating both.
|
|
|
|
Re: Wrap text in a cell [message #739635 is a reply to message #739502] |
Mon, 17 October 2011 17:22 |
|
Which columns?
Jason
On 10/17/2011 10:44 AM, Amitava wrote:
> Please find attached the report file containing the columbs which may contain big data. The report uses Oracle 10g DB and sql to get the data. I'm not sure what do you want to re-create the scenario.Do you want the table desc also.
|
|
|
|
|
|
Re: Wrap text in a cell [message #739784 is a reply to message #739739] |
Mon, 17 October 2011 21:21 |
|
Is there spaces in the text?
Jason
On 10/17/2011 4:06 PM, Amitava wrote:
> I mentioned earlier that changing them to dynamic text does not solve
> the issue of truncating really long text.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Wrap text in a cell [message #986328 is a reply to message #939196] |
Tue, 20 November 2012 02:32 |
Jeff Stouse Messages: 28 Registered: May 2012 |
Junior Member |
|
|
Mani,
You are talking to a complete rookie when it comes to scripting.
First of all, I cannot believe that BIRT FAILS to offer this functionality without resorting to writing an event handler. Why hasn't someone written a generic option that is a property for each cell in a table/grid?
As evidenced by the searches I spent hours going through, I am not the only one needing this functionality...
OK, so I have to write an event handler. Thanks for pointing me in that direction. I am reading the material that you linked to, but I have not a clue on how to calculate the need to increase the row height based on the amount of text left to display (I cannot figure out how to calculate that.) If I'm going to take the time to attempt this (no sleep tonight, or tomorrow, or the next night...) then shouldn't the plan be to create a script that looks at the size of the value to be displayed and then calculates how many rows (height of a standard row) it will need to display that amount of text, given the width of the cell?
Sign me,
Not a scripter (yet, apparently)
Thanks for your suggestions.
|
|
|
Re: Wrap text in a cell [message #986563 is a reply to message #986328] |
Tue, 20 November 2012 23:28 |
|
Jeff,
Are you certain you don't have a height set on the actual grid or detail row that you're putting your text element into? It sounds to me that a value is set. If it is, BIRT will not expand or minimize that row to fit your data. Let me know.
Michael
Developer Evangelist, Silanis
|
|
|
Re: Wrap text in a cell [message #1385114 is a reply to message #986563] |
Wed, 04 June 2014 12:28 |
|
Hello Amitava
How did you get the wrap() function to work? Where do I have to insert the script? Does this work also for crosstab?
Thank you for helping.
Michelle
Best regards
Open Source BIRT V4.4.0
Elicpse Luna
Oracle
|
|
|
Powered by
FUDForum. Page generated in 0.07101 seconds