Demos
Documentation
API
More Samples
Download Wijmo

FlexGrid Multi-Column Sort

The FlexGrid's UI only allows sorting one column at a time (by clicking the column headers).

This sample shows you can add a UI for sorting on multiple columns. It uses the grid's sortingColumn event to add properties to the sortDescriptions property of the grid's collectionView.

Click any column header to add or flip the sort for that column. Use ctrl+click to clear all sorts and start over: