FlexGrid supports ascending and descending sorting. To enable sorting, set AllowSorting property of the FlexGrid allow users to sort the grid. On setting the AllowSorting property to true, a user can simply tap a column's header to sort the grid by that column at runtime.
The image below shows how the FlexGrid appears after sorting is applied to the grid by tapping header of the column, FirstName.
C# |
Copy Code |
---|---|
grid.AllowSorting = true; |