Skip to content

Releases: nagarajanchinnasamy/subtotal

Version 1.11.0-alpha.0

04 Dec 08:52
Compare
Choose a tag to compare
Pre-release

Following issues resolved in this release:

  • Put Row SubTotals at Bottom Instead of Top #12
  • Initial Expand/Collapse Behavior #38
  • Clicking on pivot axis labels does not expand rows/columns #47
  • Row Sub-Total DIsplay On Top Problem. #52

Following options deprecated from this release:

  • rendererOptions.collapseColsAt
  • rendererOptions.collapseRowsAt
  • rendererOptions.colSubtotalDisplay.disableAfter
  • rendererOptions.colSubtotalDisplay.disableSubtotal
  • rendererOptions.rowSubtotalDisplay.disableAfter
  • rendererOptions.rowSubtotalDisplay.disableSubtotal

Following new options are introduced in this release:

  • rendererOptions.rowSubtotalDisplay.displayOnTop (set to false to display subtotal at bottom)
  • rendererOptions.colSubtotalDisplay.collapseAt
  • rendererOptions.rowSubtotalDisplay.collapseAt
  • rendererOptions.colSubtotalDisplay.disableFrom
  • rendererOptions.rowSubtotalDisplay.disableFrom

Lots of code refactoring is done to simplify the logic. Examples updated. New tests are added.

Version 1.10.0

09 Aug 08:48
Compare
Choose a tag to compare
  • [#33] Disable subtotals under a specified level. Thanks to @KishanManali1824
  • API documentation moved to Wiki Pages

Version 1.9.0

13 May 10:10
Compare
Choose a tag to compare
  • Add composer.json to let PHP developers to keep track of subtotals.js on packagist.org. #36 Thanks to @fabiomontefuscolo
  • Hide Expand/Collapse arrows when subtotal display is disabled #37

Version 1.8.0

28 Mar 04:25
Compare
Choose a tag to compare

Disable subtotals on column #27. Thanks to @sroche-tec for feedback and testing the changes.

WARNING: Backward Compatibility Breaking Change.

Changed rowSubtotalDisplay and colSubtotalDisplay renderer options to support following properties:

disableSubtotal
disableExpandCollapse
hideOnExpand

Version 1.7.1

02 Feb 22:41
Compare
Choose a tag to compare

This release adds support to hide subtotal rows and/or subtotal columns on expand (Issue: #26). Thanks to @Dams591 for the feedback.

Following new rendererOptions added:

  • rowSubtotalDisplay
  • colSubtotalDisplay

These options can take one of the following values:

  • "Hide On Expand"
  • "Enable"
  • "Disable" (Note: Currently Not Supported)

Check this example for the code sample

Version 1.6.1

12 Jan 22:58
Compare
Choose a tag to compare

Fixed the issue of broken tests. Details at: #25

_Changes in Version 1.6.0_

  1. Adding colTotal and rowTotal class names to headers #24 - Thanks to PR by @cesartl

  2. Following new Subtotal.js specific aggregators implemented - #2 Please refer to this example.

    $.pivotUtilities.subtotal_aggregators

    "Count As Fraction Of Parent Row"
    "Count As Fraction Of Parent Column"
    "Sum As Fraction Of Parent Row"
    "Sum As Fraction Of Parent Column"

  3. Test cases are rewritten to test the functionality of this plugin - #1 Run tests from here

Version 1.6.0

12 Jan 22:14
Compare
Choose a tag to compare
  1. Adding colTotal and rowTotal class names to headers #24 - Thanks to PR by @cesartl

  2. Following new Subtotal.js specific aggregators implemented - #2 Please refer to this example.

    $.pivotUtilities.subtotal_aggregators

    "Count As Fraction Of Parent Row"
    "Count As Fraction Of Parent Column"
    "Sum As Fraction Of Parent Row"
    "Sum As Fraction Of Parent Column"

  3. Test cases are rewritten to test the functionality of this plugin - #1 Run tests from here

Version 1.5.0

02 Jan 10:52
Compare
Choose a tag to compare
  1. Callback support for table events #21. See this example
  2. Broken link in tests is fixed #23
  3. Upgraded to use latest PivotTable.js 2.7.0

Version 1.4.0

10 Dec 11:12
Compare
Choose a tag to compare
  • CSS Classes expanded and collapsed applied to labels for #20 styling collapsable labels by @zam6ak
  • Renderer Options arrowCollapsed and arrowExpanded to customize default arrow characters
  • Introduced subtotal.css (suggestions/contributions welcome. Am not a CSS expert!)
  • Examples cleanup

Version 1.3.5

29 Nov 02:14
Compare
Choose a tag to compare
  • Fixed Issue #19 Empty filter lead to js error. Thanks to @ilyaguy for the feedback.
  • Examples cleanup