Skip to main content



      Home
Home » Archived » BIRT » Width Of CellHandle
Width Of CellHandle [message #248501] Tue, 17 July 2007 16:03 Go to next message
Eclipse UserFriend
Originally posted by: bbhammar.hotmail.com

How can set the width of a CellHandle ? I am using a servlet to
dynamically generate rptdocument. My problem is that if I have a lot of
columns in my report, the pdf get messed up. Any tips on automatically
resizing the width of the pdf based on the number of columns and the width
of the columns in the report.
A quick response will help a lot.
BirtNewGuy
Re: Width Of CellHandle [message #248659 is a reply to message #248501] Wed, 18 July 2007 10:50 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

You need to get the column handle to do this.
If you have the table handle do something like:

ColumnHandle ch = (ColumnHandle)table.getColumns().get(0);
ch.setProperty("width", "50%");

Jason

BirtNewGuy wrote:
> How can set the width of a CellHandle ? I am using a servlet to
> dynamically generate rptdocument. My problem is that if I have a lot of
> columns in my report, the pdf get messed up. Any tips on automatically
> resizing the width of the pdf based on the number of columns and the
> width of the columns in the report. A quick response will help a lot.
> BirtNewGuy
>
Previous Topic:Using "style" in a table of a Library
Next Topic:Portability of encrypted-property odaPassword in design file
Goto Forum:
  


Current Time: Fri May 02 10:42:32 EDT 2025

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

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

Back to the top