How to make the table header repeat on each page

2019-03-07

When you display a report on several pages, you will most likely want to display the table headers on each page. This will prevent the user of the report from constantly turning over to the first page in order to understand the purpose of the columns and reduce errors in the perception of information. The lack of headers on every page is very annoying. This concerns not only reports with tables, but also matrix ones.

FastReport .Net of course allows you to display headings on each table. The RepeatHeaders option is responsible for this. It must be set to true, although by default it already has this value. For the Matrix object this will be enough. The headings of the matrix will be displayed on each page displaying this matrix.

However, there is a nuance with the Table object. It is not enough just to set the RepeatHeaders option to true.

You need to set the number of displayed rows for the header in the FixedRows property. This is needed if the table has a multi-level header. By default, this property has a value of 0. Let's consider an example with a table with a two-level header. This is how it looks like by default, that is, with FixedRows = 0:

Although the RepeatHeaders property is true, the title on the second page is not displayed. Now install FixedRows = 1:

In this case, on the second page we got only the top-level heading. Set the FixedRows property to 2:

.NET .NET FastReport FastReport
8. April 2025

Konvertieren einer Microsoft Word-Datei (.docx) in eine FastReport .NET-Datei (.frx)

Ein Konverter von Microsoft Word (.docx) Format zu einem file FastReport .NET (.frx): Beschreibung und Anweisungen zur Verwendung des Tools.
8. April 2025

Einrichten der Verbindung mit Apache Ignite in FastReport .NET

In diesem Artikel werden wir untersuchen, wie Sie eine Verbindung zu Apache Ignite in FastReport .NET konfigurieren. Sie lernen die notwendigen Schritte, um das Plugin über Code und den Berichtsdesigner zu verbinden.
25. März 2025

Mehrere Berichte in einen Bericht in FastReport .NET zusammenfassen

FastReport .NET ist ein leistungsfähiges Werkzeug zum Erstellen und Verwalten von Berichten. In diesem Artikel erfahren Sie, wie Sie mehrere Berichte in FastReport .NET zu einem kombinieren.
Fast Reports
  • 800-985-8986 (Englisch, USA)
  • +31 97 01025-8466 (Englisch, EU)
  • +49 30 56837-3928 (Deutsch, DE)
  • +55 19 98147-8148 (Portugiesisch, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.