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

invalidateColumns breaks other tables when used with RouteReuseStrategy #280

Open
romgerman opened this issue Mar 21, 2023 · 0 comments
Open

Comments

@romgerman
Copy link

What is the expected behavior?

All tables work as expected.

What is the current behavior?

When you call invalidateColumns on a table that is inside a route-reusable component, then the table on next page will show no rows (and PblDataSource will not fire a onRenderedDataChanged event).

What are the steps to reproduce?

Click on any row and the table on next page will load indefinitely. Return back, try again, still happening.
https://stackblitz.com/edit/pebula-ngrid-starter-cixddi?file=src/app/app.component.ts

Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?

In my project its [email protected], [email protected], [email protected], [email protected], [email protected]. Any browser.

Is there anything else we should know?

Workaround is not to use invalidateColumns when using RouteReuseStrategy.

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