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.
For second click
appears, “customizeToolbar” not excuted hence “beforetoolbarcreated” seems muted after first instance.
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
Please take a look at the following sample – http://jsfiddle.net/flexmonster/9r178ks3/
Does it work for you?
Thanks for the update.
It will work for me. Cheers!