PivotGridField.TopValueShowOthers Property
Gets or sets whether the "Others" item is displayed within the PivotGridControl when the Top N Values feature is enabled. This is a dependency property.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
[XtraSerializableProperty]
[XtraSerializablePropertyId(2)]
public bool TopValueShowOthers { get; set; }
#Property Value
Type | Description |
---|---|
Boolean | true if the "Others" item is displayed when the Top N Values feature is enabled; otherwise, false. |
#Remarks
The PivotGridField.TopValueCount property can be used to restrict the number of field values displayed along the control's left or top edge. Setting this property to a positive value enables the Top N Values feature. In this case, the control displays the first field values according to the current sort order, the number of these values is defined by the PivotGridField.TopValueCount property. If the TopValueShowOthers property is set to false the values that follow the first values are hidden. If this property is set to true the remaining values will be combined into a single item ("Others").
The default "Others" substring can be localized. See the Localization document for more information. Another way to customize the "Others" header is to handle the PivotGridControl.FieldValueDisplayText event.