Back to Devexpress

Display Row Numbers in a Report, Group or Page

xtrareports-119444-feature-guide-to-devexpress-reports-shape-report-data-count-elements-and-values-display-row-numbers-in-a-report-group-or-page.md

latest854 B
Original Source

Display Row Numbers in a Report, Group or Page

  • Feb 18, 2026

This document describes how to show the current row number for each data source value displayed in a report.

A label can display row numbers after binding your report to data and specifying a bound data field in the XRLabel‘s Expression property.

  • Click the label’s smart tag. In the invoked Label Tasks window, click the Summary property’s ellipsis button.

  • In the Summary Editor window:

  • Back in the Label Tasks window, you can use the FormatString property to format the resulting value:

You can switch to the Print Preview to see the record numbers displayed for the specified range: