New to Kendo UI for Angular? Start a free 30-day trial
Sorting
The Kendo UI for Angular PivotGrid component supports sorting through the PivotLocalBindingDirective
or the PivotOLAPBindingDirective
.
Configuration
To define the initial sort state, set the sort
property to a collection of SortDescriptor objects containing the following keys:
- field—The name of the dimension, for example,
Region
. - dir—The direction of the sorting.
All inner members of the selected dimension will also be sorted.
The PivotGrid Configurator allows the end user to control the sort settings through the fields' chips menus.
The following example demonstrates basic configuration with initial sorting applied and enabled configurator:
Change Theme
Theme
Loading ...