Skip to content
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

Grouping (subtotals) #1088

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Subtotal added as default.
Jakub Jagielka committed Feb 23, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2defaf5031525aafabadebd4122c0f3522a5c470
39 changes: 37 additions & 2 deletions dist/pivot.css
Original file line number Diff line number Diff line change
@@ -8,7 +8,8 @@ table.pvtTable {
}
table.pvtTable thead tr th, table.pvtTable tbody tr th {
background-color: #e6EEEE;
border: 1px solid #CDCDCD;
border-top: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
font-size: 8pt;
padding: 5px;
}
@@ -20,7 +21,8 @@ table.pvtTable tbody tr td {
color: #3D3D3D;
padding: 5px;
background-color: #FFF;
border: 1px solid #CDCDCD;
border-top: 1px solid #CDCDCD;
border-left: 1px solid #CDCDCD;
vertical-align: top;
text-align: right;
}
@@ -112,3 +114,36 @@ table.pvtTable tbody tr td {
.pvtCheckContainer p{ margin: 5px; }

.pvtRendererArea { padding: 5px;}

td.pvtSubtotal.level1 {
font-weight: bold;
background-color: lightgray;
border-right: 1px solid black;
border-left: 1px solid darkgray;
}

td.pvtSubtotal.level2 {
font-weight: bold;
background-color: greenyellow;
border-right: 1px solid gray;
}

tr.pvtSubtotal.level1 td
{
border-top: 1px solid black;
border-bottom: 1px solid darkgray;
font-weight: bold;
background-color: lightgray;
}

tr.pvtSubtotal.level2 td {
background-color: gainsboro;
border-bottom: 1px solid lightgray;
}

tr.pvtData td,
tr.pvtData th {
font-style: italic;
font-size: smaller;
font-weight: normal;
}
Loading