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

MVCxGridViewColumnCollection.Add(String) Method

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxGridViewColumn Add(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A field name to which the column is bound.

Returns

Type Description
MVCxGridViewColumn

A MVCxGridViewColumn object that is the newly added column.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Add(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also