Comments (7)
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.
@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.
@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:
- Download pivottable-Subtotals.zip
- Extract and place pivottable and its subfolders under document root of your local webserver
- Access the demo using url: http://localhost/pivottable/examples/subtotal.html
from pivottable.
@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.
All right, I think we can finally consider this issue resolved! The official answer in the FAQ is now "use Subtotal.js" :)
from pivottable.
i want to make the table collapse position in loading time
from pivottable.
@kalimuthu123 probably create an issue in the subtotal repo. 🙂
from pivottable.
Related Issues (20)
- Is it possible server side?
- Numbers without decimal
- Using pivot table.us inside Atlassian confluence page HOT 1
- Sorting with non-english characters
- Aggregation Function for summing hours
- Pivot Table Js in flutter
- Show absolute value in display, use actual value in aggregator
- Multiple seleccion en comboBox de tabla dinamica HOT 2
- Showing multiple aggregates
- multiple Agregated sum
- Custom aggregator not working with pivotUI in Angular project
- pivottable in laravel
- Running the code
- Running Code
- Running pivottable.js on a DataTables table
- Refresh pivot configuration without refreshing data
- Cell merging
- Is it supports nested json data
- MULTIPLE AGGRIGATORS NOT POSSIBLE
- naturalSort: a0-a00 or 0aa-00a input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pivottable.