This is a migrated thread and some comments may be shown as answers.

ColumnMenu Columns order Alphabetical

4 Answers 100 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 28 Feb 2018, 05:26 PM

Hello,

appear

I have a grid with the option columnMenu: true. Is it posible that in the contextual menu the columns appears orders alphabetical??.

Thanks

4 Answers, 1 is accepted

Sort by
0
Eduardo Serra
Telerik team
answered on 28 Feb 2018, 10:16 PM
Hello Carlos,

The functionality you describe is not supported by the Kendo UI Grid API but could be implemented by subscribing to the columnMenuInit event and reordering the elements manually; you can read more about said event in our documentation here.

I encourage you to participate in the Kendo UI Feedback and Feature Request Portal in order to voice your opinion; if the feature you propose gets enough votes, developers will take notice and might implement it in future releases of Kendo UI.

Alternatively, you could take advantage of our professional Feature Customization Services; you can read more about them here.

I hope this helps.

Regards,
Eduardo Serra
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Carlos
Top achievements
Rank 1
answered on 01 Mar 2018, 10:47 AM

Ok.

Thanks

0
Jaanus
Top achievements
Rank 1
answered on 08 Mar 2019, 12:17 PM

Hi

I tried to reorder them as you suggested, I think I am close, but something is not working.

Any ideas?

https://dojo.telerik.com/ucarAwip

0
Tsvetina
Telerik team
answered on 12 Mar 2019, 07:02 AM
Hi Jaanus,

There was a change in the way column menu items are loaded, which resulted in a need for an updated approach to sort the columns list. You can see a working example in this knowledge base article:
Sort Displayed Columns Menu Items

Regards,
Tsvetina
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Carlos
Top achievements
Rank 1
Answers by
Eduardo Serra
Telerik team
Carlos
Top achievements
Rank 1
Jaanus
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or