ASPxPivotGrid.FieldValueExpanding Event

Enables you to control whether field values can be expanded.

Namespace: DevExpress.Web.ASPxPivotGrid

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

Declaration

public event PivotFieldStateChangedCancelEventHandler FieldValueExpanding
Public Event FieldValueExpanding As PivotFieldStateChangedCancelEventHandler

Event Data

The FieldValueExpanding event handler receives an argument of the PivotFieldStateChangedCancelEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets whether the field value can be expanded/collapsed.
CustomTotal Gets a custom total to which the processed field value corresponds.
Data For internal use.
DataField Gets the data field which identifies the field value.
Field Gets the field being processed.
(Inherited from PivotFieldEventArgsBase<T>)
FieldIndex Gets the position of the processed field in the header area.
IsCollapsed Indicates whether the processed field value is collapsed.
IsColumn Gets whether the processed field value belongs to a column or row field.
IsOthersValue Gets whether the current header corresponds to the "Others" row/column.
Item For internal use.
MaxIndex Gets the maximum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.
MinIndex Gets the minimum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.
Value Gets the column field or row field value to which the currently processed column/row header corresponds.
Values Gets the outer field values in the processed row/column.
ValueType Gets the type of the currently processed column/row header.

Remarks

The FieldValueExpanding event is raised when attempting to expand a field value. The field value can be identified using the event's PivotFieldEventArgsBase<T>.Field parameter. To prohibit field value expanding, set the PivotFieldStateChangedCancelEventArgs.Cancel parameter to true.

See Also