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

Select All columnMenu option behaving strange

1 Answer 156 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darrin
Top achievements
Rank 1
Darrin asked on 15 Dec 2017, 04:19 PM

I have a 'Select All' option in the columnMenu as demonstrated in the following example:

https://docs.telerik.com/kendo-ui/knowledge-base/grid-include-selectall-in-columnmenu

 

This was working as expected in version 2017.3.913.  After upgrading I now encounter an issue whenever I open the menu, close it and then re-open.  The following example demonstrates the problem:

https://dojo.telerik.com/IcOYO

Opening the 'Order ID' columnMenu and selecting 'Columns' shows a 'SelectAll' option on the top as expected.  When opening for a second time, 'SelectAll' is moved to the bottom.  In addition, selecting 'Filter' shows that a 'Column ID' option has been added above the filter options.  I have been unable to determine whether this is a known issue in the current version (2017.3.1026).

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 19 Dec 2017, 08:19 AM
Hello, Darrin,

Thank you for reporting this.

The issue occurs because we made changes to the column menu in order to take the new position of the columns after reordering. This is breaking the custom logic in the demo. It is related to this issue:

https://github.com/telerik/kendo-ui-core/issues/3449

I can suggest executing the logic on the columnMenuOpen event in order to apply the changes after the reordering:

https://dojo.telerik.com/eJiMe

I will update the example as well.

Additionally, I updated your Telerik points for bringing this to our attention.

Regards,
Stefan
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.
Tags
Grid
Asked by
Darrin
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or