FlexViewer: Remove icons from toolbar

Posted by: m.luchner on 16 May 2018, 9:49 pm EST

    • Post Options:
    • Link

    Posted 16 May 2018, 9:49 pm EST - Updated 29 September 2022, 1:58 am EST

    Hello,

    is it possible to remove icons (e.g. print, fullscren, etc.) from the toolbar?

  • Posted 17 May 2018, 3:50 pm EST

    Hi,

    You may hide any desired icon by setting its display to none. Please refer to the following code snippet to hide Print and Full Screen Icon:

    onload=function(){
    	document.querySelector("[title='Print']").style.display="none";
             document.querySelector("[title='Full Screen']").style.display="none";
    }
    

    Hope it helps!

    ~Manish

Need extra support?

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

Learn More

Forum Channels