Skip to main content

MVCxGridViewColumnCollection<RowType>.AddBand(String) Method

Creates a new band column with the specified caption and adds it to the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxGridViewBandColumn<RowType> AddBand(
    string caption
)

Parameters

Name Type Description
caption String

A String value that specifies the band column’s caption.

Returns

Type Description
MVCxGridViewBandColumn<RowType>

An MVCxGridViewBandColumn<RowType> object that is the newly created band column.

Remarks

Use the AddBand method to add a new column with the specified settings to the end of the MVCxGridViewColumnCollection<RowType> collection.

See Also