TOC for Report generated with Subreports

Stimulsoft Reports.JS discussion
Post Reply
ShashankHegde16
Posts: 5
Joined: Tue Jul 12, 2022 12:07 pm

TOC for Report generated with Subreports

Post by ShashankHegde16 »

We have created the multiple .mrt report templates and programmatically merged those reports using subReports.add() method.

Is there a way we can generate TOC for this report in Nodejs with links to individual sub reports?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: TOC for Report generated with Subreports

Post by Lech Kulikowski »

Hello,

Unfortunately, there are no standard ways for that task.

You can manually check rendered reports, check rendered pages, and set it to the TOC.

Thank you.
ShashankHegde16
Posts: 5
Joined: Tue Jul 12, 2022 12:07 pm

Re: TOC for Report generated with Subreports

Post by ShashankHegde16 »

Could you share example for how to check manually rendered pages and set to TOC?
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: TOC for Report generated with Subreports

Post by Lech Kulikowski »

Hello,

Unfortunately, we do not have such samples.

Try to check the sample for creating report from code:
https://www.stimulsoft.com/en/samples/r ... -from-code

Thank you.
ShashankHegde16
Posts: 5
Joined: Tue Jul 12, 2022 12:07 pm

Re: TOC for Report generated with Subreports

Post by ShashankHegde16 »

We need it for table of contents for dynamically generated sub reports not for the html table.
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: TOC for Report generated with Subreports

Post by Lech Kulikowski »

Hello,

Unfortunately, we do not have such samples.

Thank you.
Post Reply