Could not find method "toggleFullScreen"

Posted by: erdwin.ng on 24 November 2022, 4:43 am EST

  • Posted 24 November 2022, 4:43 am EST - Updated 24 November 2022, 4:48 am EST

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

  • Posted 24 November 2022, 5:21 am EST

    Hello,

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

  • Posted 24 November 2022, 5:59 am EST - Updated 24 November 2022, 6:04 am EST

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

  • Posted 24 November 2022, 6:07 am 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