Giter Club home page Giter Club logo

Comments (7)

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

Hi Rafael,

Thanks for the feedback! This isn't currently supported but it's a good idea. It would require subtotal support first, which I see you've already logged issue #26 for.

The right way to do this, assuming that subtotal support exists in the PivotData object, would be to modify the default table renderer.

from pivottable.

nagarajanchinnasamy avatar nagarajanchinnasamy commented on September 25, 2024

rollupsummary

@nicolaskruchten, Thanks a lot for such a useful library.

I have added the support for roll-up summary (sub-total rows) using aggregators and renderer concepts . Its available at SubTotals branch of the fork that I have made

Would like to receive your comments/feedback from friends here before I send the pull request. I plan to add collapse-and-expand feature on top of this. Thanks.

from pivottable.

nagarajanchinnasamy avatar nagarajanchinnasamy commented on September 25, 2024

@nicolaskruchten , friends... I have further enhanced subtotal_renderers with both row-wise and column-wise subtotals. Also added Collapse/Expand functionality for rows. Collapse/Expand for column subtotals is under construction....

Please check Subtotals branch. and provide your feedback. Steps to use:

  1. Download pivottable-Subtotals.zip
  2. Extract and place pivottable and its subfolders under document root of your local webserver
  3. Access the demo using url: http://localhost/pivottable/examples/subtotal.html

Sample screenshot:
pivotrowcolumnsubtotal

from pivottable.

nagarajanchinnasamy avatar nagarajanchinnasamy commented on September 25, 2024

@nicolaskruchten and friends, happy to inform you that Subtotal.js is available for download as an NPM module or Bower component.

Subtotal.js is hosted in GitHub as pivottable-subtotal-renderer

@nicolaskruchten , In setting up Subtotal.js, I have shamelessly copied the structure, style and some portions of text and code as is from Pivottable.js repository. Hope you don't mind.

Thanks again to all of you for your feedback and support 👍

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

All right, I think we can finally consider this issue resolved! The official answer in the FAQ is now "use Subtotal.js" :)

from pivottable.

kalimuthu123 avatar kalimuthu123 commented on September 25, 2024

i want to make the table collapse position in loading time

from pivottable.

james1293 avatar james1293 commented on September 25, 2024

@kalimuthu123 probably create an issue in the subtotal repo. 🙂

from pivottable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.