MVCxPivotGridFieldCollection.Add(String, PivotArea) Method
In This Article
Adds a new field with the specified field name and location to the end of the collection.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public MVCxPivotGridField Add(
string fieldName,
PivotArea area
)
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A string that identifies the name of the database field that will be assigned to the new MVCx |
area | Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
MVCx |
The MVCx |
#Remarks
This method creates a new MVCxPivotGridField object, initializes it with the specified settings and appends it to the collection.
See Also