-
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 urgentfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
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.

Reactions are currently unavailable
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 urgentfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues


