Dynamically setting drill-down tab names

Stimulsoft Reports.JS discussion
Post Reply
compuaid
Posts: 16
Joined: Mon Aug 22, 2022 3:30 pm

Dynamically setting drill-down tab names

Post by compuaid »

We have a drill-down report for accounting data and would like to set the tab name to the account number used as a parameter to open the detail report. The drill-down is using a new page for the detail report.

For instance - we click on an amount in the line of our main report for account number 101. When the drill-down report opens, I would like the tab to read something like "Cash Details - Account 101"

I would assume this could be done in the Viewer.onInteraction method but when I look at the event parameter that is passed I don't see any way to determine the data from the current row in the master report.
Lech Kulikowski
Posts: 7193
Joined: Tue Mar 20, 2018 5:34 am

Re: Dynamically setting drill-down tab names

Post by Lech Kulikowski »

Hello,

You can use the ReportAlias parameter:
https://demo.stimulsoft.com/#Net/ListOfProducts

Thank you.
compuaid
Posts: 16
Joined: Mon Aug 22, 2022 3:30 pm

Re: Dynamically setting drill-down tab names

Post by compuaid »

Thank you! That's exactly what I needed. Is there a place where all the "special" parameters that can be passed to reports is listed?
Lech Kulikowski
Posts: 7193
Joined: Tue Mar 20, 2018 5:34 am

Re: Dynamically setting drill-down tab names

Post by Lech Kulikowski »

Hello,

Unfortunately, there is no such place.

Thank you.
Post Reply