subtotal
Version:
Subtotal.js is a JavaScript plugin for PivotTable.js. It renders subtotals of rows and columns with the ability to expand and collapse rows.
84 lines (72 loc) • 2.04 kB
CSS
body {
font-family: Verdana;
}
/* AxisLabel */
table.pvtTable .pvtAxisLabel {
white-space: nowrap;
}
table.pvtTable .pvtAxisLabel.expanded {
white-space: nowrap;
cursor: zoom-out ;
}
table.pvtTable .pvtAxisLabel.collapsed {
white-space: nowrap;
cursor: zoom-in ;
}
/* RowLabel */
table.pvtTable tbody tr th.pvtRowLabel {
vertical-align: top ;
white-space: nowrap ;
background-color: white ;
border-width: 0px 0px thin 0px ;
}
table.pvtTable tbody tr th.pvtRowLabel.rowexpanded {
cursor: zoom-out ;
}
table.pvtTable tbody tr th.pvtRowLabel.rowcollapsed {
cursor: zoom-in ;
}
/* RowLabelFiller */
table.pvtTable .pvtRowLabelFiller {
background-color: white;
border-width: 0px 0px thin 0px ;
}
/* RowSubtotal */
table.pvtTable .pvtRowSubtotal {
font-weight:bold;
}
table.pvtTable tr td.pvtRowSubtotal.rowcollapsed {
background-color: #EFEFEF ;
}
/* ColLabel */
table.pvtTable thead tr th.pvtColLabel {
white-space: nowrap;
}
table.pvtTable thead tr th.pvtColLabel.colexpanded {
cursor: zoom-out ;
}
table.pvtTable thead tr th.pvtColLabel.colcollapsed {
cursor: zoom-in ;
}
/* ColLabelFiller */
table.pvtTable .pvtColLabelFiller {
background-color: #EFEFEF ;
}
/* ColSubtotal */
table.pvtTable .pvtColSubtotal {
font-weight:bold;
}
table.pvtTable tr td.pvtColSubtotal {
background-color: #EFEFEF ;
}
/*
*
* IMPORTANT: Please do not remove the lines below this point
*
*/
table.pvtTable tr .rowhide {
display: none;
}
table.pvtTable tr .colhide {
display: none;
}