Sorting
Sorting can be either ascending or descending, represented by the enum SortType.
Disabling Sorting
To prevent sorting on a column, set the sortable property in the column definition to false:
ColDef priceColumn = ColDef.builder()
.field("price")
.sortable(false)
.build();
Grid using server side sorting
- sorting
Trade IDworks - sorting
Productis turned off - sorting
Portfoliois turned on in client, but turned off in server:Server throws exception - Source code for this grid available here
- Backend source code available here
Loading grid...
Absolute sorting
Absolute Sorting enables sorting numeric values based on their magnitude, ignoring their sign.
Loading grid...