6 Answers, 1 is accepted
Currently, there is no way to sort the items in the column chooser. However, I will add this as a feature request and we will consider it when planning our upcoming releases. Your Telerik points have been updated accordingly.
the Telerik team
Thank you for writing.
We have introduced the sorting feature back in Q1 2012 SP1. Here is how you can set the sort order:
Using the ColumnChooserEvent is important, as the column chooser instance is recreated on demand. This ensures that you will always work with valid instance of it.
I hope this helps.
Hi Stefan, I added this code:
Private Sub TheList_ColumnChooserCreated(sender As Object, e As ColumnChooserCreatedEventArgs) Handles TheList.ColumnChooserCreated
e.ColumnChooser.SortOrder = RadSortOrder.Ascending
But the column chooser is not ordered, still the same as no order. I tried no order, ascending, descending, but all got the same order.
The RadGridView.ColumnChooserCreated property controls how the columns in the column chooser will be sorted. I have attached a sample project for your reference. Please refer to the attached gif file illustrating the behavior on my end with the specified version.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.