Controlling the Rows Per Page for Multiple Containers in HTML and PDF

If you have more than one data container in a report, such as a list and a crosstab, you can control how the report is rendered in HTML and PDF by setting the Rows Per Page property for each container.

For HTML output, the report property option Page break for interactive HTML controls whether the default number of rows is rendered for each data container on each page.

IBM® Cognos® Analytics with Watson uses the following rules when rendering reports in HTML and PDF:

  • If the Rows Per Page property is not set for any of the data containers, 20 rows per page are rendered in HTML and each page is completely filled in PDF. The first data container is rendered until there is no more data, followed by the next container, and so on.
    Tip: The number of rows that appear on a PDF page depends on the font size set in the report.
  • If the Rows Per Page property is set for each data container, the specified numbers of rows are rendered in HTML and PDF on each page until there is no more data.
  • If the property is set for only some of the containers, the specified numbers of rows are rendered in HTML and PDF on each page until there is no more data. For the remaining containers, 20 rows per page are rendered on each page in HTML and each page is completely filled in PDF.

    For example, you have two lists, List1 and List2. You set the Rows Per Page property to 5 for List1. When you run the report in HTML, the first page contains the first 5 rows from List1 followed by the first 15 rows of List2.

  • If no data is returned for a data container, an empty container is rendered.