Completed
Last Updated: 05 Aug 2020 08:29 by ADMIN
Release 2020.R1.SP1
Jon
Created on: 23 Jul 2019 21:43
Category: Grid
Type: Bug Report
2
Incorrect column hidden when using sorted column menu

Following example @ https://docs.telerik.com/kendo-ui/knowledge-base/grid-sort-displayed-columns-menu-items sorts a column menu. When hide column is then clicked, the wrong column is hidden.

This can be seen in your own dojo example linked in the above doc and @ https://dojo.telerik.com/UWuxOseV . Hiding column Ship Name hides Ship Address instead.

This seems to have been introduced in 2019 R2 SP1 version.

 

2 comments
ADMIN
Alex Hajigeorgieva
Posted on: 01 Nov 2019 12:42

Hello, Jon,

We have discussed this with the team and I have now logged an issue in the repository to be fixed. You can monitor it here:

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

Since you were the first person to report this issue to us, I have also added some Telerik points to your account.

Kind Regards,
Alex Hajigeorgieva
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.
ADMIN
Alex Hajigeorgieva
Posted on: 30 Jul 2019 15:53

Hello, Jon,

Thank you very much for the feedback regarding the how to article.

I believe that the current behaviour is a result of this fix:

 - In the Grid, if a column field matches another column title, the menu hides the wrong column

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

The code, aside from other things, also added this line which explains why the wrong column is hidden - it takes the column by index sourced from the index of the menuItem:

column = columns[item.index()];

I will see how we can update the article/ update the fix and get back to you shortly.

Regards,

Alex Hajigeorgieva
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.