Is there any way to get the current page ?

Stimulsoft Reports.JS discussion
Post Reply
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

Is there any way to get the current page ?

Post by morteza »

Hello
Good Day

Is there any way to get the current page in a report?
I have logged the current page by accessing the dictionary object :

Code: Select all

console.log((report.dictionary.report.currentPage ));
but I don't know how to get updated value. As I see in the doc there wasn't any event for that.
even I have tested a custom button and logged the 'currentPage' in its callBack but the value was always 0.

And any way to change the current page programmatically?

Best regards
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Is there any way to get the current page ?

Post by Lech Kulikowski »

Hello,

What do you mean currentPage? In which moment, event do you need that value?

Thank you.
morteza
Posts: 17
Joined: Sat Apr 04, 2020 12:27 pm

Re: Is there any way to get the current page ?

Post by morteza »

I need the current page whene ever user changed the report page.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Is there any way to get the current page ?

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
Post Reply