JS Viewer Add Toolbar item icon

Posted by: rgreen on 13 July 2021, 6:33 pm EST

  • Posted 13 July 2021, 6:33 pm EST

    Hello,

    I’m adding a custom toolbar item to the JSViewer.

    On the documentation (https://www.grapecity.com/activereportsnet/docs/v15/online/using-js-viewer.html) It just says icon?: Icon as a prop for the ToolbarItem type. However, what kind of icons are these? I’m trying to use a Material-UI icon and it’s not showing on the toolbar.

  • Posted 14 July 2021, 4:08 am EST

    Hello,

    You need to set the Icon from iConCssClass. You can refer to the “SampleCode” in the same link.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels