Value Sorting in JQuery PivotClient widget
13 Feb 20193 minutes to read
This feature is applicable only for the relational data source.
PivotClient provides support for value sorting that allows you to sort columns and rows based on value fields.
The headers of the column to be sorted are given in the
headerText property under
valueSortSettings in field wise order, separated by a string. The string which is used to separate the headers is given in the
Also, you can sort the column by clicking the column header. By clicking the same header once again, the sorting direction will be reversed. The sorting operation is performed by the
The following code snippet shows how to sort values in descending order.
The below screenshot shows PivotClient before applying value sorting.
The below screenshot shows PivotClient after applying value sorting.