COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: avuong6 on 21 Jul 2015 01:19:57 PM

Title: automatically adjusting column widths
Post by: avuong6 on 21 Jul 2015 01:19:57 PM
i have 2 row column header. i have 4 columns that sit under a merged column like below:
|                   period 1                  |
|total   |% total   | ops     |% ops|

on the promp page, the user can choose to hide any of the 4 columns which i accomplish with a style variable. my issue is that when any column is hidden, the merged column does not adjust to the total width of the columns that are displayed under it. how can i setup the merged column to adjust automatically?
Title: Re: automatically adjusting column widths
Post by: avuong6 on 02 Sep 2015 08:40:04 AM
providing an update on how to do this if anyone is interested. basically, you have to imbed cells within your table and apply the style variables to those cells. it works, but alot of work to get there.