Skip to main content

PivotGridControl.CustomUnboundFieldData Event

Enables providing data to unbound fields.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v23.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public event CustomFieldDataEventHandler CustomUnboundFieldData

Event Data

The CustomUnboundFieldData event's data class is CustomFieldDataEventArgs. The following properties provide information specific to this event:

Property Description
Field Gets the unbound field currently being processed. Inherited from CustomFieldDataEventArgsBase<T>.
ListSourceRowIndex Gets the current row index in the data source. Inherited from CustomFieldDataEventArgsBase<T>.
Value Gets or sets the currently processed value. Inherited from CustomFieldDataEventArgsBase<T>.

The event data class exposes the following methods:

Method Description
GetListSourceColumnValue(Int32, String) Returns the value of the specified cell within the specified row in the control’s underlying data source. Inherited from CustomFieldDataEventArgsBase<T>.
GetListSourceColumnValue(String) Returns the value of the specified cell within the processed row in the control’s underlying data source. Inherited from CustomFieldDataEventArgsBase<T>.

Remarks

This member is no longer supported in Optimized, OLAP and Server modes. Use ExpressionDataBinding or OLAPExpressionBinding for OLAP instead.

Refer to the following article for more information on how to build an expression with custom function: Calculated Fields.

See Also