plotly / react-pivottable

React-based drag'n'drop pivot table with Plotly.js charts
https://react-pivottable.js.org/
MIT License
993 stars 254 forks source link

ClickCallback with more than one column attribute does not function right #109

Open aboulang opened 4 years ago

aboulang commented 4 years ago

Somehow when clickCallback function(e, value, filters, pivotData) and within it forEachMatchingRecord is applied in this case, nothing is collected. I use the word collected assuming the example at https://pivottable.js.org/examples/mps_prepop.html.

In the screenshot below, the grand total is clicked on with nothing collected. Other cell clicks function as expected. Annotation 2020-07-05 142816

aboulang commented 4 years ago

Also, I observe that pivottable.js does not have the bug https://pivottable.js.org/examples/mps_prepop.html