If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Dynamic Column Width

Started by TEL, 08 Sep 2006 01:58:29 AM

Previous topic - Next topic

TEL

Hi Guys,

I'm using 8 report studio. Could anyone let me know how to set the column widths to be dynamic based on the width of the data in the report.

Thanks in advance

Tel

MFGF

They should automatically be dynamic, unless you have fixed them with the Size and Overflow property for the column.

Try running your report and resizing the Cognos Viewer window - the column widths should adjust to suit.

Regards,

MF.
Meep!

TEL

Thanks for the response MF,

I guess the purpose of my question was to allow me control over field wrapping in pdf. Have you any suggestions as to how that can be controlled?

Thanks in advance

Tel

MFGF

Hi Tel,

You should find columns dynamically sized in PDF rendering too.  You can see this if you use the sample GO Sales and Retailers package and write a report containing just the Description item from the Products query subject.  When you run the report, the Description column takes up the entire width of the PDF page.  Now go back and add Product Line, Product Type and Product Name, and run the report again.  This time the Description column gets rendered narrower to leave space for the other columns on the page, and you will see more word-wrapping as a result.

To change this default behaviour, you can fix the width of a column using the Size and Overflow property, but that's pretty much it.

Does that cover what you need, or do you have something else specific in mind you need to do?

Regards,

MF.
Meep!