-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drill-through/Output data from Pivot table entry: "pivot filtering" #33
Comments
This is a great idea. I see two ways of doing it, both of which leverage the jQuery One option would be for the Another option would be the same idea except that we would attach an array of records to each 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? |
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. |
1- Is there any documentation that shows what the code should look like in a Sharepoint Content Editor Web Part? |
Hi,
|
Pull request #141 (which won't be merged) shows how someone patched this library for this purpose |
@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 |
@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? |
I'm looking at merging #557 or something like it. |
functionality for this is now in master! |
I'm wondering if it's possible to output the records that have been binned into a given pivot table entry.
The use case is the following:
i.e. I want to answer the question "Which records contribute to this pivot table entry?", and make use of them elsewhere in coordinated views.
Another approach would be to output the necessary row and column data that describes the pivot table entry in order to perform filtering externally (perhaps with crossfilter.js).
I have not looked into the source code to see how to approach this. It would be great to hear from you to know the difficultly level of this enhancement.
The text was updated successfully, but these errors were encountered: