MVCxTreeListColumnCollection.Add(String, String) Method
In This Article
Creates a new column with the specified settings and adds it to the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxTreeListColumn Add(
string fieldName,
string caption
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A String value that specifies the name of a data field assigned to the current column. This value is assigned to the Tree |
caption | String | A String value that specifies the text displayed within the column’s header. This value is assigned to the Web |
#Returns
Type | Description |
---|---|
MVCx |
An MVCx |
See Also