ClearFields Method

       

Restores the default grid layout.

Syntax

object.ClearFields

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

Remarks

The ClearFields method restores the default grid layout (with two blank columns) so that subsequent ReBind operations will automatically derive new column bindings from the (possibly changed) data source. You can cancel the grid's automatic layout behavior by invoking the HoldFields method.