Radzen DataGrid sort type

Hello.

Please, is there any way, how to set the style of sorting colums in DataGrid? I mean this:

  1. Sorting just two way - ascending, descending. So no default state.
  2. Is possible to show dropdown for choosing ascending/descending?

I implemented DataGrid into my Data Loader application and they ask me, if it is possible to change this to :"two way".

Thanks.

Best regards

Zdenek

You can bypass the DataGrid sorting logic by defining HeaderTemplate for each column with desired UI and use this UI logic to sort your collection before assigning Data property of the DataGrid.

1 Like