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 » Sun Jul 19, 2020 1:46 pm

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: 3451
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Tue Jul 21, 2020 7:05 am

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 » Tue Jul 21, 2020 12:16 pm

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

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

Post by Lech Kulikowski » Fri Jul 24, 2020 2:08 pm

Hello,

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

Thank you.
Post Reply