Skip to main content
Tab

GridViewDataColumn Class

Serves as a base for classes that represent data columns.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class GridViewDataColumn :
    GridViewColumn,
    IWebColumnInfo,
    IDataSourceViewSchemaAccessor,
    IFilterColumn,
    IFilterablePropertyInfo,
    IWebGridDataColumn,
    IWebGridDataColumnBase,
    IWebGridColumn,
    IWebGridExportColumn,
    IWebGridDataColumnAdapterOwner

Remarks

The ASPxGridView control is designed to display and edit tabular information. Data sources present this information using data fields and records. In the ASPxGridView, data fields are represented as data columns and a record is displayed as a data row.

The ASPxGridView stores its columns within the ASPxGridView.Columns collection. A column can be accessed by its caption or the name of the data source field to which it is bound.

The ASPxGridView supports bound and unbound columns. Bound columns obtain their data from the control’s data source. Their GridViewDataColumn.FieldName property refers to a valid field in the data source. Unbound columns are not bound to any field in the data source. These columns must be populated manually via the ASPxGridView.CustomUnboundColumnData event.

Settings provided by the GridViewDataColumn class allow you to control how column data is displayed and edited, whether the column takes part in grouping and at which level, sort order, etc.

To learn more, see Data Columns.

See Also