GridColumnCollection.AddVisible(String) Method
Adds a new column, binding it to the specified field and making this column visible.
Namespace: DevExpress.XtraGrid.Columns
Assembly: DevExpress.XtraGrid.v26.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| fieldName | String | A string that specifies the name of the field to which to bind the created column. This value is assigned to the GridColumn.FieldName property. |
Returns
| Type | Description |
|---|---|
| GridColumn | The created GridColumn object. |
Remarks
The column created will be displayed after existing visible columns.
See Also