COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: busterbbg on 15 Jun 2016 08:12:20 AM

Title: html display needs charts to stay on page and detail list scroll
Post by: busterbbg on 15 Jun 2016 08:12:20 AM
Using Report Studio ver 10.2, I have a HTML report that has the parameters in the heading section (user doesn't want separate parameter page) and the body consist of two blocks.  1st block is 2 charts, side by side. 2nd block is beneath the 1st block and contains a detail list. Right now the chart block will disappear when the list goes beyond one page.  I would like the block section to stay and have the list section scroll, without the page up & down arrows, but with the use of a scroll bar.  Thanks for any help.
Title: Re: html display needs charts to stay on page and detail list scroll
Post by: Lynn on 15 Jun 2016 08:34:05 AM
Set the rows per page as desired for the detail list to encompass the full result set, then in Cognos viewer you can right-click on the column headings to freeze them and get scroll bars.
Title: Re: html display needs charts to stay on page and detail list scroll
Post by: busterbbg on 15 Jun 2016 10:15:15 AM
Thanks Lynn for the reply.
I would like the scroll bar to appear on the detail list section automatically. I don't want the user to freeze the headings. Some users may not know how to do this. Is this possible?
Another issue is the extra scroll bar for IE page.  Is there a  way to get rid of this?
Title: Re: html display needs charts to stay on page and detail list scroll
Post by: Lynn on 16 Jun 2016 02:08:14 AM
You can use a block but then the headers scroll off as well. If you specifically set a size for all the columns (that works for every possible data scenario) you can hid the list column headings in the list and put a one-row table above the block that contains the necessary headings with cell sizing to match your list column sizing to avoid this.

http://www-01.ibm.com/support/docview.wss?uid=swg21338936

Personally I think the built-in functionality for Cognos Viewer is the better approach. A simple instruction on the screen would suffice to instruct users on how to do it. Presumably these are people who know how to read.