RemoveItem Method

Removes a row from the grid control.


Public Sub RemoveItem(ByVal Index As Integer)

Applies To

Grid Object


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



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