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

DataGrid: Personalize Columns search does not work #4495

Closed
hohnzy opened this issue Oct 9, 2020 · 4 comments · Fixed by #4496
Closed

DataGrid: Personalize Columns search does not work #4495

hohnzy opened this issue Oct 9, 2020 · 4 comments · Fixed by #4496
Assignees
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)

Comments

@hohnzy
Copy link

hohnzy commented Oct 9, 2020

Describe the bug
When trying to search column in Personalize Columns dialog, it throws an error in console (Cannot read property 'toLowerCase' of undefined) and not working

To Reproduce
Steps to reproduce the behavior:

  1. Go to demo app /ids-enterprise-ng-demo/datagrid-breadcrumb
  2. Click on ellipsis menu - personalize column
  3. Try searchbox
  4. See error in the console

Expected behavior
Search should normally work

Version

  • ids-enterprise-ng: 7.5.5 (8.0.1 also tested)

Screenshots
image

@tmcconechy
Copy link
Member

Interestingly this works fine in the core component https://master-enterprise.demo.design.infor.com/components/datagrid/example-index

@tmcconechy tmcconechy changed the title DataGrid Personalize Columns search does not work DataGrid: Personalize Columns search does not work Oct 9, 2020
@tmcconechy tmcconechy self-assigned this Oct 14, 2020
@tmcconechy tmcconechy transferred this issue from infor-design/enterprise-ng Oct 14, 2020
@tmcconechy tmcconechy added type: bug 🐛 [2] Velocity rating (Fibonacci) labels Oct 14, 2020
@tmcconechy tmcconechy moved this from In progress to Pending Review in Enterprise 4.34.x (Oct 2020) Sprint Oct 14, 2020
@tmcconechy
Copy link
Member

tmcconechy commented Oct 14, 2020

FYI Found this problem occurs when you have a checkbox column with no "name" field in the column. So this can be workedaround by adding a name: "something" on every column in the grid.

Could also be seen here https://master-enterprise.demo.design.infor.com/components/datagrid/example-multiselect.html

@hohnzy
Copy link
Author

hohnzy commented Oct 14, 2020

Workaround works! Even with empty string {...column, name: ''}.

@tmcconechy tmcconechy moved this from Pending Review to Ready for QA (beta) in Enterprise 4.34.x (Oct 2020) Sprint Oct 19, 2020
@jbrcna
Copy link
Contributor

jbrcna commented Oct 20, 2020

@jbrcna jbrcna moved this from Ready for QA (beta) to Done in Enterprise 4.34.x (Oct 2020) Sprint Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 [2] Velocity rating (Fibonacci)
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants