Change to multiple pages after rendering using JS

Stimulsoft Reports.JS discussion
Post Reply
rjorge99
Posts: 37
Joined: Tue Feb 28, 2023 6:24 pm

Change to multiple pages after rendering using JS

Post by rjorge99 »

Hi, is there a list of actions I can use?

I found surfing the web that I can do something like: viewer.jsObject.postAction(action), and I found some actions like:

"FirstPage"
"PrevPage"
"NextPage"
"LastPage"
"FullScreen"
"Zoom25"
"Zoom50"
"Zoom75"
"Zoom100"
"Zoom150"
"Zoom200"
"ZoomOnePage"
"ZoomPageWidth"
"About"
"Design"

All of that from other post, but I just cant find what action is the one to change to Multiple Pages or to a Single page.

Where can I find this information in the documentation?

Thanks.
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: Change to multiple pages after rendering using JS

Post by Lech Kulikowski »

Hello,

There is no such documentation. You can use the following actions:
"Refresh":
"Print":
"Open":
"Save":
"SendEmail":
"Zoom":
"ViewMode":
"FirstPage":
"PrevPage":
"NextPage":
"LastPage":
"FullScreen":
"Zoom25":
"Zoom50":
"Zoom75":
"Zoom100":
"Zoom150":
"Zoom200":
"ZoomOnePage":
"ZoomPageWidth":
"ViewModeSinglePage":
"ViewModeContinuous":
"ViewModeMultiplePages":
"ViewModeMultiPage":
"GoToPage":
"BookmarkAction":
"Bookmarks":
"Parameters":
"Find":
"About":
"Design":
"Pin":
"Submit":
"Reset":
"Editor":

Thank you.
rjorge99
Posts: 37
Joined: Tue Feb 28, 2023 6:24 pm

Re: Change to multiple pages after rendering using JS

Post by rjorge99 »

Thanks for the information, it worked great.
Max Shamanov
Posts: 990
Joined: Tue Sep 07, 2021 10:11 am

Re: Change to multiple pages after rendering using JS

Post by Max Shamanov »

Hello,

You are Welcome!
Post Reply