To enable sorting, set the sortableColumns property to true, and optionally set the sortExpertMode property. If you set the sortExpertMode property to false as this example demonstrates, then you will see a small vertical bar right next to the column title, and clicking at the right of the vertical bar repeatedly toggles the sort direction between ascending and descending order.

<DataGrid ... sortExpertMode="true" sortExpertMode="false" ... >


sortableColumns Whether or not to allow the user to sort the data in the table by clicking the column header.
sortExpertMode Whether or not to display the advanced sort icon right next to the column title.

© 2017 KoolChart. All rights reserved.