Restores the default grid layout.
[Visual Basic]
Public Sub ClearFields()
[C#]
public void ClearFields()
[Delphi]
public procedure ClearFields();
Example
The following code uses the ClearFields method to remove all the columns in the grid:
Me.C1TrueDBGrid1.ClearFields()
· C#
this.c1TrueDBGrid1.ClearFields();
· Delphi
Self.C1TrueDBGrid.ClearFields;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |