Skip to main content

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.v24.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