-
Notifications
You must be signed in to change notification settings - Fork 6.8k
docs(material/table): additional details on table data sources #21921
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
Conversation
docs(table): additional details on table data sources Provides additional documentation and clarification on extending the base DataSource class with custom data sources either by extending or implementing. Fixes angular#21887
|
@crisbeto - here's the PR we discussed. Feel to propose or modify anything! |
crisbeto
left a comment
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 with one nit. You'll also have to change the commit message title to be docs(material/table) instead of docs(table) in order for the lint check to pass.
src/material/table/table.md
Outdated
|
|
||
| Although Angular Material provides a ready-made table DataSource class, `MatTableDataSource`, you may | ||
| want to create your own custom DataSource class for more complex use cases. This can be done by | ||
| `extending` the abstract DataSource class with a custom DataSource class that then implements the |
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.
I don't think you need the backticks around "extending" here.
|
Ok I've addressed those two issues you mentioned, let me know if there's anything else! |
|
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. |
docs(table): additional details on table data sources
Provides additional documentation and clarification on extending the base DataSource class with custom data sources either by extending or implementing.
Fixes #21887