MVCxGridViewColumnCollection.Add(String, String) Method

Adds a new column to the collection and specifies the column's caption and bound field name.

Namespace: DevExpress.Web.Mvc

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


public MVCxGridViewColumn Add(
    string fieldName,
    string caption
Public Function Add(
    fieldName As String,
    caption As String
) As MVCxGridViewColumn


Name Type Description
fieldName String

A field name to which the column is bound.

caption String

A string value that is a column caption.


Type Description

A MVCxGridViewColumn object that is the newly added column.

See Also