PivotGridSettings.CustomCellDisplayText Property

Enables custom display text to be provided for cells displayed within the Data Area.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public PivotCellDisplayTextEventHandler CustomCellDisplayText { get; set; }
Public Property CustomCellDisplayText As PivotCellDisplayTextEventHandler

Property Value

Type Description
PivotCellDisplayTextEventHandler

A PivotCellDisplayTextEventHandler delegate method allowing you to implement custom processing.

Remarks

The CustomCellDisplayText event allows customizing the text within data cells. A data cell displays a summary value calculated against a specific Data Field. This field is identified by the event parameter's PivotCellEventArgsBase<TField, TData, TCustomTotal>.DataField property. The current value and its formatted text representation are specified by the event's PivotCellEventArgsBase<TField, TData, TCustomTotal>.Value and PivotCellDisplayTextEventArgs.DisplayText properties.

Data cell format settings can be specified via the PivotGridFieldBase.CellFormat, PivotGridFieldBase.GrandTotalCellFormat and PivotGridFieldBase.TotalCellFormat properties.

Use the PivotGridSettings.FieldValueDisplayText event or the PivotGridFieldBase.ValueFormat property to customize display text used to represent field values.

See Also