-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs(material/table): add examples with changing data #22808
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
docs(material/table): add examples with changing data #22808
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@andrewseguin needs rebase |
045e874
to
234ead9
Compare
* docs(material/table): add examples with changing data * docs(material/table): flat list * docs(material/table): flat list (cherry picked from commit 7a87ef9)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Adds two examples that show data changing and the table re-rendering. The array-based table uses the same array and re-renders with a call to `renderRows(). The observable-based table has data changing its array references and watching new data on the stream.
Stackblitz with the observable one: https://stackblitz.com/edit/angular-gu5uju?file=src%2Fapp%2Ftable-basic-example.ts
Fixes #5917