Freezing column titles

Let's say we have a report that is going to go over multiple pages when viewed online (HTML). Instead of users clicking on Page Down each time, we want to show all rows on one page so that users can simply scroll down.

However, when they scroll down, we want to keep the Column Titles frozen on top so the report can be easily read.

Getting ready

Create a simple list report with some data items such that it will produce a long-list report.

How to do it...

In this recipe we will see how to freeze the header of a list table by creating a specific style for this and applying it into the list headers. To do this, perform the following steps:

  1. Drag a new Block from the toolbox and place it on the report page. Pull the List Report inside ...

Get IBM Cognos 10 Report Studio Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.