Need a special offer?Find out if your project fits.
+

Multiple Report Within Single Main Report

Answered
Prakash asked on January 19, 2021

Hi,
I would like to generate a report using flexmonster tool and this report will contain four different data set which are related to each other, and what I like to do is to show all four different data set within one single report. Where there is one main header and each data set along with there own sub-header.
So, could you guys please let me know if such kind of report structure is possible or not in flexmonster ? If it is possible can you please share any example of it.
I am attaching screen shot of sample report which I would like to generate.

Attachments:
SampleReport.png

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster January 20, 2021

Hello,
 
Thank you for reaching out to us.
 
We want to explain that a single Flexmonster instance can only operate with a single dataset at a time.
 
As a workaround, you can use several stacked instances of the component. You can even save their configuration within a single JSON file that would contain several report objects.
To display the "main" header, you can set the grid.howHierarchyCaptions property of the Options Object to false for all the instances except the first one.
 
We have prepared an example to demonstrate this approach: https://jsfiddle.net/flexmonster/wmfzbr2j/.
It allows saving the list of reports from multiple Flexmonster instances using the "Save" button.
Next, this configuration can be retrieved using the "Open" button. The number of instances will be based on the saved configuration. It means you do not need to specify this in advance.
The JSFiddle also demonstrates how to load the "combined" reports from the URL as a single file.
 
Please let us know if it helps.
Feel free to contact us if further questions arise.
 
Best regards,
Illia

Please login or Register to Submit Answer