Skip to content

Conversation

@s4m0r4m4
Copy link
Contributor

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

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
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 16, 2021
@s4m0r4m4
Copy link
Contributor Author

@crisbeto - here's the PR we discussed. Feel to propose or modify anything!

Copy link
Member

@crisbeto crisbeto left a 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.


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
Copy link
Member

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.

@s4m0r4m4 s4m0r4m4 changed the title docs(table): additional details on table data sources docs(material/table): additional details on table data sources Feb 16, 2021
@s4m0r4m4
Copy link
Contributor Author

Ok I've addressed those two issues you mentioned, let me know if there's anything else!

@crisbeto crisbeto added docs This issue is related to documentation action: merge The PR is ready for merge by the caretaker merge safe target: patch This PR is targeted for the next patch release labels Feb 16, 2021
@mmalerba mmalerba added the merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed label Feb 16, 2021
@mmalerba mmalerba merged commit 5c57c86 into angular:master Feb 16, 2021
mmalerba pushed a commit that referenced this pull request Feb 16, 2021
Provides additional documentation and clarification on extending the base DataSource class with custom data sources either by extending or implementing.

Fixes #21887

* docs(material/table) removing backticks around "extending"

(cherry picked from commit 5c57c86)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement docs This issue is related to documentation merge: fix commit message When the PR is merged, rewrites/fixups of the commit messages are needed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(COMPONENT): Make DataSource<T> an interface

3 participants