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

Using the search filter of a data grid clears all selected rows #151

Open
kristyknapp opened this issue May 27, 2022 · 0 comments
Open

Using the search filter of a data grid clears all selected rows #151

kristyknapp opened this issue May 27, 2022 · 0 comments

Comments

@kristyknapp
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

We are using an amexio-datagrid that has column with a checkbox in it to select a row. When I select a row in the data grid and then use the search filter, any rows that were selected previously are now cleared. This same thing happens with an amexio-listbox.

Expected behavior

If I select a row in the data grid and then use the search filter, the row should still be selected.

Minimal reproduction of the problem with instructions

For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem via
https://plnkr.co or similar (you can use Our Amexio Plunker as a starting point: http://plnkr.co/edit/M9AeGH?p=info)

  1. Select a row in the datagrid

Screen Shot 2022-05-27 at 2 13 01 PM

  1. Use one of the search filters (doesn't matter whether the search includes the selected row or not, but if it does the row will no longer be selected)

Screen Shot 2022-05-27 at 2 13 59 PM

  1. Clear the search and any previously selected rows are no longer selected.

Screen Shot 2022-05-27 at 2 14 10 PM

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z

I was able to recreate this issue on the demo site with the amexio-listbox here: https://api.amexio.org/api/v5.20/index.html#/data/listbox-demo

Browser:
- [x ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: 12.0.0  
- Platform:  Mac 

Others:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant