It would be great if mat-row (part of mat-table) supported the navigation list feature that can currently be found in lists. I.e., hover on a row highlighted the row, and click on a row added a ripple. The cursor should change to pointer.
This would be great for tables that are intended to have only one main action.
If mat-row has a special directive applied, say, nav-row, then hover on a row highlights the row, and click on a row adds a ripple. Also, the cursor should change to pointer.
No highlights or ripples. The cursor is default.
http://plnkr.co/edit/A70Yw5fBc7HLrbDIlivl?p=preview
It would be great for use cases when the user needs to select (by clicking) a single row in a mat-table
Angular 4.4.4
Material 2.0.0-beta.11
It's not something that would be built into the row, but possibly a separate direction like matActionRow. The a11y story would need some thought first.
any update about this?
No updates on this yet, we haven't prioritized it but it is on our roadmap for the future
+1, because we can't use MatRipple with MatRow,, bad animation, wrong center point
Edit: we MatRipple not work when using HTML \
@ndunks any chance You can share a working example with MatRipple for MatRow?
Angular material table with ripple effect, check here:
https://stackblitz.com/edit/angular-zjjtui?file=app%2Ftable-basic-example.html
Most helpful comment
Angular material table with ripple effect, check here:
https://stackblitz.com/edit/angular-zjjtui?file=app%2Ftable-basic-example.html