Could not find method "toggleFullScreen"

Posted by: erdwin.ng on 23 November 2022, 7:43 pm EST

  • Posted 23 November 2022, 7:43 pm EST - Updated 23 November 2022, 7:48 pm EST

    I want to implement own fullscreen button. There is a “toggleFullScreen” method in the document but I could not use it.

  • Posted 23 November 2022, 8:21 pm EST

    Hello,

    What’s the type of the “reportViewer” variable in the code snippet you shared? Is it an angular application?

  • Posted 23 November 2022, 8:59 pm EST - Updated 23 November 2022, 9:04 pm EST

    Yes. It is an angular application. It is type of “ViewerComponent”.

  • Posted 23 November 2022, 9:07 pm EST

    You could use the fullscreen property of the viewer component as in the following code snippet

    <gc-activereports-viewer (init)="onViewerInit()"  [fullscreen]="true"> </gc-activereports-viewer>

    https://www.grapecity.com/activereportsjs/docs/DeveloperGuide/ActiveReportsJSViewer/Integration/Angular-Component lists all available properties.

Need extra support?

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

Learn More

Forum Channels