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

feat(cdk/table): add optional footer to cdk-text-column #29399

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jullierme
Copy link
Contributor

Added two new inputs to CdkTextColumn:
footerText (string) and footerTextTransform (function), automatically inherited by MatTextColumn.

If the table does not define a footer, the column footer will be ignored.

Additionally, TextColumnOptions includes a new default function called defaultFooterTextTransform, used when neither footerTextTransform nor footerText are provided.

Fixes #24532

@jullierme jullierme requested a review from a team as a code owner July 9, 2024 00:31
@jullierme jullierme requested review from crisbeto and andrewseguin and removed request for a team July 9, 2024 00:31
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jul 9, 2024
@jullierme jullierme force-pushed the add-footer-cell-to-text-column branch 2 times, most recently from d14ff92 to 36fa0ab Compare September 10, 2024 12:57
Added two new inputs to CdkTextColumn:
`footerText` (string) and `footerTextTransform` (function), automatically
inherited by MatTextColumn.

If the table does not define a footer, the column footer will be ignored.

Additionally, TextColumnOptions includes a new default function called
`defaultFooterTextTransform`, used when neither `footerTextTransform` nor
`footerText` are provided.

Fixes angular#24532
@jullierme
Copy link
Contributor Author

@crisbeto this one is also green now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detected: feature PR contains a feature commit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(cdk/table): add footer-cell to text-column
1 participant