Select All columnMenu option behaving strange

2 posts, 0 answers
  1. Darrin
    Darrin avatar
    2 posts
    Member since:
    Aug 2016

    Posted 15 Dec 2017 Link to this post

    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).

  2. Stefan
    Admin
    Stefan avatar
    2475 posts

    Posted 19 Dec 2017 Link to this post

    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.
Back to Top