RemoveCol Method

Removes a column from the grid control.


Public Sub RemoveCol(ByVal Index As Integer)

Applies To

Grid Object


The following parameters are available:

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

Return Type



To add columns, use the AddCol method. Alternatively, you may add or remove columns at the right of the grid by setting the ColCount property.

See Also

AddCol Method