Toolbar Buttons' Event Handlers

Posted by: shinigami on 3 August 2017, 3:59 pm EST

  • Posted 3 August 2017, 3:59 pm EST


    I'm currently using the web version of PivotView and would like to know how to handle the button click events programmatically (e.g. excel export, toggle schema). Also, is there a way to selectively enable/disable these toolbar buttons (for example, I only want to allow the 'excel export' and disable the rest)?

  • Replied 3 August 2017, 3:59 pm EST


    For customizing toolbar buttons, ActiveAnalysis provides a ToolbarPartSettings class that allows enumerating all items inside the toolbar part and making the part of the toolbar (one or more than one buttons) visible/invisible. The ToolbarParts enumeration is used to define the part of the default toolbar (which may have or more than one buttons based on the functionality grouping).

    The toolbar customization is not available for the web version of the pivotview. However you can get this functionality in the silverlight viewer. I would suggest you to kindly take a look at the ToolbarCustomization sample that is shipped with ActiveAnslysis for more information on it. You can get the sample at the following location on your machine:
    My Documents\GrapeCity\ActiveAnalysis\2.1.544.5\Samples\Silverlight\CS\ToolbarCustomization

  • Replied 3 August 2017, 3:59 pm EST

    <font face="Verdana">when will be toolbar customization be implemented for the web version of the pivot view? we would be needing to hide/show some menus on our web app.</font>

    <font face="Verdana">thanks,</font>
  • Replied 3 August 2017, 3:59 pm EST


    I have entered a feature request with tracking number 164960 to allow customization of the Toolbar in Web Pivot Viewer in future releases of Active Analysis. I have added your email address to this case and you will be notified as the case gets implemented in future versions of Active Analysis.

    Best Regards,
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels