RemoveItem Method

Removes a row from the grid control.

Syntax

Public Sub RemoveItem(ByVal Index As Integer)

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
Index Required,determines which row should be removed from the control. It must be in the range between 0 and RowCount-1, or an Invalid Index error will occur.

Return Type

None

Remarks

To add rows, use the AddItem method. Alternatively, you may add or remove rows at the bottom of the grid by setting the RowCount property.

See Also

AddItem Method