-
Notifications
You must be signed in to change notification settings - Fork 46
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
Give label for Subtotal #14
Comments
@zam6ak If I am right, you are referring to the highlighted cell in the attached image. Sure, we can add a title text instead of keeping it empty. I will take this as an enhancement. Just one clarification though: That highlighted cell's row is the subtotal row for Female. Not for Province. |
@zam6ak maybe it helps if you just add: |
@nagarajanchinnasamy You are correct, it is for Female. I think it would be nice to add this via config option and if enabled it would just put text "Totals for {{colOrRowName}}" Also, perhaps, this makes sense only when item is expanded? @zwirnerj this is not the same as having a label....I do think this CSS should be default though. It helps a lot |
Thanks @zwirnerj ... Nice idea :) Along with what @zwirnerj has suggested, you can highlight the subtotal row with a different background color as shown in one of the examples. I think that will be more elegant without adding more text into the table. @zam6ak I get your point too.... Please try above suggestions and let us know. Implementation wise it should not be very difficult to add what you are suggesting... but would like to hear from you after you have tried the options suggested. Thanks :) |
@nagarajanchinnasamy I added the style that @zwirnerj suggested. It looks better, but I wish there was a way to change the background color of the subtotals row but only row when expanded. |
Did you check this example at: http://nagarajanchinnasamy.com/subtotal/examples/subtotal_pivot_css.html Does that help? |
I've used following styles
|
@ilyaguy After applying your styles I realized that background color completely wipes out effects of Heatmap renderer.... |
Will take this forward with #20 |
Is it possible to give a label for the subtotals row?
In your example:
http://nagarajanchinnasamy.com/subtotal/examples/subtotal_pivot.html
if you expand on Gender, the top cell for Procince (subtotal) is blank.
It would be nice if it could automatically put in "Subtotal for Province"
Perhaps via config option or something....
The text was updated successfully, but these errors were encountered: