Skip to main content
A newer version of this page is available. .

MVCxGridViewColumnCollection.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.v18.2.dll

Declaration

public MVCxGridViewBandColumn AddBand(
    string caption
)

Parameters

Name Type Description
caption String

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

Returns

Type Description
MVCxGridViewBandColumn

An MVCxGridViewBandColumn 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 collection.

See Also