-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add CSS style also to field in Sum row #354
Comments
I suggest you play around with the CSS :nth-child() selector, based on the CSS class .grid-total-rows
|
Ah, good idea! Thanks 👍 |
Would this include conditional css? I've got 2 issues..
For now I'm using javascript to avoid these issues, but it would be nice if I didn't have to |
Package 4.0.5 allows to configure css classes for the total rows:
|
Is your feature request related to a problem? Please describe.
I have a Sum row, and would like to be able to right align the number fields using CSS.
Describe the solution you'd like
Whenever
.Css(css)
is used,css
is added to the field in the Sum row, just like all the other rows.It might be useful to also add a class tag (e.g.,
grid-sum
) to the Sum row, to be able to distinguish the Sum row from the regular rows.Describe alternatives you've considered
I haven't really been able to figure out an alternative for targeting the field in the Sum row.
Additional context
This feature would be useful for all aggregate rows, like Min, Max, Average, etc.
The text was updated successfully, but these errors were encountered: