Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Grid] Applying filtering to the GridColumnMenuColumnsList sets and returns wrong columns #2240

Open
kdikov82 opened this issue May 10, 2024 · 0 comments
Assignees
Labels
Bug Item which indicates that something is not working KendoReact pkg:Grid SEV: Critical
Milestone

Comments

@kdikov82
Copy link
Contributor

I'm submitting a...

  • Bug report

Current behavior

When you apply filter expression in the GridColumnMenuColumnsList in the column menu, the column list uses indexes of previously checked columns and applies the checked state to the same indexes even though the columns will differ after the filtering.

After clicking on the "Apply" button, the wrong columns are returned to the new column state (the columns that will be at the checked position but without the filter)

Expected behavior

The correct columns should be checked/unchecked if filtering is applied to the GridColumnMenuColumnsList

Minimal reproduction of the problem with instructions

Open the following example:
https://stackblitz.com/edit/react-z6kprw-7tkx5s?file=app%2Fmain.tsx,app%2FColumnMenu.tsx

Open a column menu and:

  1. Unselect all
  2. Select ProductID and ProductName
  3. Filter by "st" (you will notice that test and test 1 columns will be checked because ProductID and ProductName were at those positions)
  4. Click apply (ProductID and ProductName will be visible)
@kdikov82 kdikov82 added Bug Item which indicates that something is not working pkg:Grid SEV: Critical KendoReact labels May 10, 2024
@elena-gancheva elena-gancheva added this to the 2024 Q3 (Aug) milestone May 28, 2024
@zdravkov zdravkov self-assigned this Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Grid SEV: Critical
Projects
None yet
Development

No branches or pull requests

3 participants