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