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

selectedItems not cleared when emptying selectedItems array #296

Open
grofit opened this issue Nov 28, 2014 · 0 comments
Open

selectedItems not cleared when emptying selectedItems array #296

grofit opened this issue Nov 28, 2014 · 0 comments

Comments

@grofit
Copy link

grofit commented Nov 28, 2014

Currently the scenario I have is that I want to persist selections between pages, I want to reset when they change page count or filter.

However if I call removeAll() on the observable array being used it empties and the table says 0 records but the rows are still highlighted. Also when I move between pages it says that there are 0 selections but the rows are still highlighted.

So I assume there is a disconnect between the number reported, the rows highlighted and the observable array being used.

So what is the correct way to manage the state of the selectedItems so everything stays in line?

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