PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex2 Property
Gets the index in the data source for the second of the two rows being compared.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that specifies the index of the second row in the data source. |
Remarks
The PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex1 and ListSourceRowIndex2 properties have valid values if the CustomFieldSort event fires to compare raw rows in the underlying data source, that is, when the SortLocation property has the Pivot value.
If the CustomFieldSort event fires to compare unique filter values in the Filter Dropdown, the PivotGridCustomFieldSortEventArgsBase<T>.ListSourceRowIndex1 and ListSourceRowIndex2 properties are set to -1.
For more information, refer to the platform-specific events:
WinForms | ASP.NET | ASP.NET MVC | WPF |
---|---|---|---|
CustomFieldSort | CustomFieldSort | CustomFieldSort | CustomFieldSort |