Skip to main content

MVCxTreeListColumnCollection.Add(String) Method

Creates a new column with the specified data field name and adds it to the collection.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxTreeListColumn Add(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A String value that specifies the name of a data field assigned to the current column. This value is assigned to the TreeListDataColumn.FieldName property.

Returns

Type Description
MVCxTreeListColumn

An MVCxTreeListColumn object that is the newly created column.

See Also