PivotFieldStateChangedEventArgs.MaxIndex Property

Gets the maximum row index (for row fields) or column index (for column fields) that corresponds to the field value currently being processed.

Namespace: DevExpress.Web.ASPxPivotGrid

Assembly: DevExpress.Web.ASPxPivotGrid.v20.1.dll

Declaration

public int MaxIndex { get; }
Public ReadOnly Property MaxIndex As Integer

Property Value

Type Description
Int32

An integer value that specifies the maximum row or column index that corresponds to the processed field value.

Remarks

  • Row Fields

    If a row field value is being processed, use the PivotFieldStateChangedEventArgs.MinIndex and MaxIndex properties to identify the range of rows that correspond to the field value. In the image below, six rows correspond to the Beverages row field value. The minimum row index equals 0, and the maximum row index equals 5.

  • Column Fields

    If a column field value is being processed, use the PivotFieldStateChangedEventArgs.MinIndex and MaxIndex properties to identify the range of columns that correspond to the field value. In the image below, four columns correspond to the 1995 column field value. The minimum column index equals 3, and the maximum column index equals 6.

pivotgrid_minmaxindexes

See Also