Hi there,
Is beforetoolbarcreated a static event which fires only for the first instance of pivot?
If I open one instance of pivot and then another one, the second insatnce doesn't fire beforetoolbarcreated.
Load the attached html file, open console and click "Load Report" twice
For first click, following output should appear on the console.
"loadReport"
"customizeToolbar"
"ready"
For second click
"loadReport"
"ready"
appears, "customizeToolbar" not excuted hence "beforetoolbarcreated" seems muted after first instance.
Hello Anirban,
Thank you for the question.
It looks like an issue and will be fixed in the next minor release 2.309 (ETA Feb 13).
Also, you can use a workaround to customize all instances of the toolbar by overriding FlexmonsterToolbar.prototype.
Please take a look at the following sample - http://jsfiddle.net/flexmonster/9r178ks3/
Does it work for you?
Regards,
Ian
@Ian Sadovy
Thanks for the update.
It will work for me. Cheers!