Blazor DataGrid Example - Multi-Column Sorting

DataGrid / Sorting / Multi Sorting

This example shows how to use the DataGrid's multi sorting feature. Hold down the Ctrl key and click the column header to sort two or more columns.

Loading Syncfusion Blazor Server Demos…

1 of 6 pages (70 items)

The sorting feature of the Blazor DataGrid allows us to order the data in a specific direction. Set the AllowSorting property to true to enable it. Simply click the column header to sort a DataGrid column.

Multi-sorting is enabled by default in DataGrid; to sort multiple columns, hold down the Ctrl key and click the column header. Hold the Shift key and click the column header to clear sorting for that column.

To sort a specific column in this demo, simply click the column header.

More information about the Multi sorting feature can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE