Comments (9)
This is a great idea. I see two ways of doing it, both of which leverage the jQuery data()
system.
One option would be for the Table
renderer to attach to each td
element a filtering function, which you could use to iterate over the data-set to figure out which records match the cell. This may use less memory but be slower.
Another option would be the same idea except that we would attach an array of records to each td
. This may use more memory but be faster.
In either case, you could attach a click handler which could access the matching records and display them however made sense. What do you think?
from pivottable.
For the second approach, is it not sufficient to just attach the indices of the records in a given pivot table entry? Then on click, the desired records are accessed and output.
from pivottable.
1- Is there any documentation that shows what the code should look like in a Sharepoint Content Editor Web Part?
That web part is expecting html,js,css or all. There appears a number of code modules but it was not clear what piece of code brings them altogether to display the pivot.
2- What mechanism can be used to refresh the connection to the CSV file?
Thanks
from pivottable.
Hi,
-
I don't really know much about Sharepoint so I won't really be able to help you with that, sorry...
-
There is no real connection to a CSV file to refresh... The input formats are documented here: https://github.com/nicolaskruchten/pivottable/wiki/Input-Formats
from pivottable.
Pull request #141 (which won't be merged) shows how someone patched this library for this purpose
from pivottable.
@samuelleach that second approach you just mentioned is actually really just the 1st option suggested by @nicolaskruchten. Unless you were to sort your data set and use a searching algorithm (binary search is probably the only feasible algorithm if ID's are used), i doubt there would be any convenience or performance increases in using the indexes(Id's is the way you would probably use it) as opposed to the records themselves
from pivottable.
@nicolaskruchten is there a plan to add a callback, so that one wouldn't have to patch the renderer to get access to the records underneath the aggregates?
from pivottable.
I'm looking at merging #557 or something like it.
from pivottable.
functionality for this is now in master!
from pivottable.
Related Issues (20)
- colorScaleGenerator in heatmap for Python HOT 3
- Latest Plotly version breaks Plotly sample HOT 2
- New local HOT 1
- 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
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.