Example of Row Number in ASP.NET MVC Data Grid Control

This sample demonstrates the Row Number feature in the Data Grid, which automatically displays sequential row numbers in a dedicated column. It provides a simple way to identify the position of records in the current grid view.

DEMO
SOURCE

In this demo, the row number column is enabled by setting the columns->type property to RowNumber. The grid automatically generates and maintains row numbers for all displayed records, updating them appropriately during operations such as paging, sorting, filtering and grouping.

More information on row configuration can be found in the documentation section.

Looking for the full ASP.NET MVC Data Grid component overview, features, pricing, and documentation? Visit our ASP.NET MVC Data Grid component page.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab