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

[Table] Apply conditional rows using by a when-predicate #5887

Closed
andrewseguin opened this issue Jul 19, 2017 · 1 comment · Fixed by #6795
Closed

[Table] Apply conditional rows using by a when-predicate #5887

andrewseguin opened this issue Jul 19, 2017 · 1 comment · Fixed by #6795
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@andrewseguin
Copy link
Contributor

andrewseguin commented Jul 19, 2017

Add the ability to define multiple <cdk-row> directives which can have unique sets of columns and event/property bindings.

<md-row *cdkRowDef="let row; columns: usersColumns;"></md-row>
<md-row *cdkRowDef="let row; columns: usersColumns; when:isSpecialUser" (hover)="showFireworks()"></md-row>
<md-row *cdkRowDef="let row; columns: adminsColumns; when:isAdmin" (click)="selectAdmin(row)"></md-row>
@andrewseguin andrewseguin added feature This issue represents a new feature or feature request rather than a bug or bug fix md-table labels Jul 19, 2017
@andrewseguin andrewseguin self-assigned this Jul 19, 2017
@andrewseguin andrewseguin added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label Jul 19, 2017
@kara kara closed this as completed in #6795 Oct 3, 2017
@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 Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant