Skip to content

CreateRowNumberColumn Method

Description

Create a row number column.

Syntax

Public Sub CreateRowNumberColumn( _
    ByVal Width As Integer _
)

Parameters

  • Width: Width of the column.

Remarks

CreateRowNumberColumn creates a row number column. This column will contain the row number, which corresponds to the rows before any grouping and sorting are applied. Note that this column is not sortable.

You need to use the ShowRowNumber method to show or hide the column. The ShowRowNumber method simply displays a new number column as the first column in the grid.

See Also

Example

Refer to the ShowRowNumber Method for an example.


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.