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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.