Visual Basic: DataGrid Control

Visual Studio 6.0

ClearSelCols Method

See Also   Example   Applies To

Deselects all columns in a split. If no columns are selected, then this method does nothing.



The object placeholder represents an object expression that evaluates to an object in the Applies To list.


If a grid contains multiple splits, then invoking its ClearSelCols method has the same effect as invoking the ClearSelCols method for the current split. The index of the current split is available through the DataGrid control's Split property.

Use the SelStartCol and SelEndCol properties to determine the current column selection range for a split.