Hello
I merge several reports into one to display in one tab.
I do it like this:
Promise.all(promises).then(() => {
reportMerge.renderAsync(function () {
reportMerge.renderedPages.clear();
// Добавление страниц из каждого отчета в общий
reports.forEach((report) => {
for (let index = 0; index < report.renderedPages.count; ++index) {
reportMerge.renderedPages.add(
report.renderedPages.getByIndex(index)
);
}
});
viewer.report = reportMerge;
viewer.renderHtml("viewer");
});
});
Is it possible to save reports individually in the viewer when clicking "Save"? I mean split reports at the time of saving and get each report in a separate file.
How to split reports during saving
-
- Posts: 6426
- Joined: Tue Mar 20, 2018 5:34 am
Re: How to split reports during saving
Hello,
You can use the export event in which save report as you need:
https://www.stimulsoft.com/en/documenta ... events.htm
Thank you.
You can use the export event in which save report as you need:
https://www.stimulsoft.com/en/documenta ... events.htm
Thank you.