Skip to content

Grid column menu does not disable last checkbox when the menu option for command column is set to false  #7549

@alestoya

Description

@alestoya

Bug report

Grid column menu does not disable last checkbox when the menu option for command column is set to false. Thus, it is possible to hide all columns and there is no way to show them again.
The issue is reproducible when the command column has menu: false set
{ command: ["edit", "destroy"], title: "TEST", menu: false, width: "250px" }

Reproduction of the problem

  1. Open the following dojo.
  2. Open the column menu.
  3. Try to remove all columns through the checkboxes.

Current behavior

The last checkbox selection is not disabled and allows all the columns to be removed if the menu options for the command column are explicitly set to false:
ColumnNonExpected

Expected/desired behavior

The last checkbox selection should be disabled without allowing all the columns to be removed if the menu options for the command column are explicitly set to false:
ColumnExpected

The following dojo depicts the aforementioned behavior.

Environment

  • Kendo UI version: 2024.1.130
  • Browser: [all]

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions