Skip to main content

PivotGridFieldSortBySummaryInfo.FieldName Property

Gets or sets the field name of the field whose summary values define the order in which the values of the current column field or row field are arranged.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

Declaration

[DefaultValue("")]
public string FieldName { get; set; }

Property Value

Type Default Description
String String.Empty

A string that specifies the field name of the field whose summary values determine the order of the current field’s values.

Remarks

This property is in effect if the PivotGridFieldSortBySummaryInfo.Field property is set to null.

The FieldName property specifies the name of the field against which a summary will be calculated. The summary values evaluated will define the order in which the values of the current column field or row field are arranged. The FieldName property can be set to any field name contained in the control’s data source (even to a field name which has no bound PivotGridField object in the XtraPivotGrid control).

Use the PivotGridFieldSortBySummaryInfo.SummaryType property to specify the type of the summary function which will be calculated against the specified field.

See Also