Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Dynamic width
Dynamic width [message #989721] Fri, 07 December 2012 12:36 Go to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

let's say I have a table with 3 colums in my report. I would like to have the left and the right column
as wide as is its content, and the middle column grab the remaining width. How can I do that?

Thanks
Re: Dynamic width [message #989814 is a reply to message #989721] Sat, 08 December 2012 00:20 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1663
Registered: July 2009
Senior Member

I don't know that there's an out of the box way to do this, but you could probably script it, by finding the length of the longest string in the first and third columns, calculating widths for the columns, setting them, then the third gets the remainder.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: Dynamic width [message #990012 is a reply to message #989814] Mon, 10 December 2012 13:25 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Thanks
Re: Dynamic width [message #990094 is a reply to message #990012] Mon, 10 December 2012 20:50 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1663
Registered: July 2009
Senior Member

No problem.

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:How to display a table and a chart in a report in Browser?
Next Topic:Not receiving an error message on failure to create New Data Set
Goto Forum:
  


Current Time: Sat Nov 29 08:47:20 GMT 2014

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

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