-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Feature Description
When using *matNoDataRow directive, it should provide a way to identify that row. I'd suggest adding a class named "mat-no-data-row" .
Use Case
I'd like to add a style to mat-row (like on hover, to change cursor to pointer). To achieve this and not affect "no data row", I have to apply a not rule with some identification (id no-data in this example).
But if I need to create a global style, I'll need to create a custom pattern (like id="no-data") to all my tables, to apply style to mat-row, without affecting the no-data row.
With a default "mat-no-data-row" I could do something like the example below, without worrying about custom patterns.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix