Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Dynamic width
Dynamic width [message #989721] Fri, 07 December 2012 07:36 Go to next message
Jan Krakora is currently offline Jan Krakora
Messages: 402
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] Fri, 07 December 2012 19:20 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 823
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.

Regards,

Michael Williams
BIRT Exchange
Michael's BIRT Blog
Re: Dynamic width [message #990012 is a reply to message #989814] Mon, 10 December 2012 08:25 Go to previous messageGo to next message
Jan Krakora is currently offline Jan Krakora
Messages: 402
Registered: December 2009
Location: Prague
Senior Member
Thanks
Re: Dynamic width [message #990094 is a reply to message #990012] Mon, 10 December 2012 15:50 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 823
Registered: July 2009
Senior Member

No problem.

Regards,

Michael Williams
BIRT Exchange
Michael's BIRT Blog
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: Thu May 23 04:42:28 EDT 2013

Powered by FUDForum. Page generated in 0.01701 seconds