Closed dorthrithil closed 3 years ago
There's no easy way to access this object from outside... Your best bet would be to build a renderer that displays as the table plus the button, and then your renderer would get access to the PivotData object.
Thanks Nicolas! I ended up doing exactly that.
I wrote an external custom renderer (for exporting as XLSX) which I want to trigger via a button outside of the table. My renderer function depends on the
PivotData
object. It would be nice if you could add an API function to get the currentPivotData
from. Or is there some recommended way to get it that I missed while reading the documentation?