MVCxGridViewColumnCollection.Add(String, String, MVCxGridViewColumnType) Method
In This Article
Adds a new column to the collection and specifies the column’s caption, type and bound field name.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxGridViewColumn Add(
string fieldName,
string caption,
MVCxGridViewColumnType columnType
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A field name to which the column is bound. |
caption | String | A string value that is a column caption. |
column |
MVCx |
One of the MVCx |
#Returns
Type | Description |
---|---|
MVCx |
A MVCx |
See Also