New to KendoReact? Start a free 30-day trial
Sorting
SortingPremium
Updated on Oct 31, 2025
The KendoReact PivotGrid component supports sorting through the usePivotOLAPService hook or the PivotOLAPService higher-order component.
The sort property is a JavaScript array of SortDescriptor objects containing the following keys:
- field—The name of the dimension, for example,
[Date].[Calendar]. - dir—The direction of the sorting.
All inner members of the selected dimension will also be sorted.
Configuration
To set an initial sort, pass the defaultSort property to the usePivotOLAPService hook or the PivotOLAPService higher-order component.
The following example demonstrates the basic configuration of the default sorting.
Change Theme
Theme
Loading ...