Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Setting a constant size for the field (max. characters)
good_vish
My simple report consists of a table with a number of columns. Each column is supposed to display a certain number of characters as mentioned in the specs.
I am using Birt Report Designer 2.5 on Windows to produce reports in PDF and html output.
The Width property for the Cell and the ReportItem.Width property for the Data Element in the properties window seem to have units (in, mm, picas, exs, %, cm, points, ems, pixels).
I was wondering if there is a way to specify the width of the column(Data Element) in terms of number of characters, just like the size attribute for a text field in HTML.
Find more posts tagged with
Comments
mwilliams
Hi good_vish,<br />
<br />
I don't believe that is an option in BIRT. You could request an enhacement for this feature at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>.<br />
<br />
If you're wanting to chop off at a certain amount of characters, you could use substrings to do something like this.
good_vish
thanks Mike,
I have raised a Bugzilla Enhancement Request for this.
For now, I have managed to get the constant widths for the columns on my report layout with the help of the designer (trail & error method).
Bug 295236 - Setting a constant size for the field (max. characters).
- Vishwa
mwilliams
Thanks for the update. Let us know whenever you have questions.