Skip to main content

GridViewColumnStateCollection.Add(String) Method

Adds a column state object specified by the field name to the collection.

Namespace: DevExpress.Web.Mvc

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

Declaration

public GridViewColumnState Add(
    string fieldName
)

Parameters

Name Type Description
fieldName String

The data field name identifying the grid column whose state information should be added to the collection.

Returns

Type Description
GridViewColumnState

A GridViewColumnState representing the newly created column state object.

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