PivotGridFieldCollection.Item[String] Property
Gets the field with the specified id, name of the bound database field or caption.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public PivotGridField this[string id_fieldName_Caption] { get; }
#Parameters
Name | Type | Description |
---|---|---|
id_field |
String | A string value which specified the field’s id, name of the bound database field or the field’s caption. |
#Property Value
Type | Description |
---|---|
Pivot |
A Pivot |
#Remarks
This method searches the collection for the PivotGridField object whose PivotGridField.ID property’s value matches the parameter’s value. If such an object isn’t found, the collections is searched for the field whose PivotGridField.FieldName property’s value matches the parameter’s value.
If such a field isn’t found, the collection is searched for the field whose PivotGridFieldBase.Caption property’s value matches the parameter’s value. If such a field isn’t found the indexer returns null (Nothing in Visual Basic).