Hi, I've been trying to navigate the report I'm showing but with custom buttons. I mean, I'm hidding the Viewer Toolbar, and I have custom html button that I would like to use to Go to the last page, first page, next page, and previous.
I've been reading the documentation, but I just can't find the methods, or samples to perform this operation.
Somebody have done this before?
Thanks
Simulating Goto Page with a Html Button
-
- Posts: 6747
- Joined: Tue Mar 20, 2018 5:34 am
Re: Simulating Goto Page with a Html Button
Hello,
Please check the following actions:
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
viewer.renderHtml("content");
viewer.jsObject.postAction("NextPage"); //FirstPage, PrevPage, LastPage
Thank you.
Please check the following actions:
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
viewer.renderHtml("content");
viewer.jsObject.postAction("NextPage"); //FirstPage, PrevPage, LastPage
Thank you.