Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

How to call reportcomplete event for each pivot ?

Manoranjan Gahana asked on May 25, 2017

I have 3 pivot & i am displaying each pivot in a tab if you will click a tab it will display the respective pivot table .I want to do some operation after report completed for that i am using reportcomplete event.But the issue is this event is calling only once for last pivot only.I want to call this for each pivot .How can i do this ?
var pivot = $(“#pivotContainer”).flexmonster({
componentFolder: “”
toolbar: true,
report: {
dataSource: {
  dataSource: {
    filename: ‘’
  reportcomplete: function () {
     report = flexmonster.getOptions();


1 answer

Tanya Gryshko Flexmonster May 25, 2017

Hello Manoranjan,
Thank you for writing. Please replace report = flexmonster.getOptions(); with report = pivot.getOptions(); where pivot is the variable name containing the pivot instance (this is where you define it: var pivot = $(“#pivotContainer”).flexmonster). Let us know if you have more questions.

Please login or Register to Submit Answer