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 in it. The number will correspond to the rows before any grouping and sorting are applied. Note that this column is not sortable.

You need to use ShowRowNumber to show or hide the column. ShowRowNumber simply shows 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.