Wrap text in a cell [message #736212] |
Thu, 13 October 2011 16:11  |
Eclipse User |
|
|
|
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 #986328 is a reply to message #939196] |
Mon, 19 November 2012 21:32   |
Eclipse User |
|
|
|
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 #1385114 is a reply to message #986563] |
Wed, 04 June 2014 08:28  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.29976 seconds