-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Specify background colour for striped rows within a table #5286
Comments
Any news on this? :) |
My pr was rejected, because they do not support first version anymore. Focusing on next version. :) |
Table
Get Striped Style
|
From the above, while the background color changes, it doesn't change to the appropriate color specified. For example -
changed the color, but displayed a different color order than the one specified above. |
This is my solution table.component.html
table.component.scss
|
I've solved it by assigning a root class to Component.tsx
Component.scss
Or if you are using CSS: Component.css
|
Description
One can set
stripedRows
prop for a<TableBody>
component, and even rows will get different background color. But how can this color be changed? Or not just the color, but even some other style properties. I thought about adding a propstripedRowsStyle
for the possibility to customize the appearance of striped rows. Does it makes sense to make a PR with this feature?Images & references
The text was updated successfully, but these errors were encountered: