Generate report with nested arrays?

Stimulsoft Reports.Web discussion
Post Reply
Mds1
Posts: 1
Joined: Sat Sep 25, 2021 9:05 am

Generate report with nested arrays?

Post by Mds1 » Sat Sep 25, 2021 9:15 am

I'm new in Stimulsoft Report.
I want to know how can I generate the following report in Stimulsoft Report.
Assume we have the following data:

Code: Select all

{
   "Questions": [
      {
         "QuestionTitle": "Question Title 1",
         "Actions": [
            "Action 1-1",
            "Action 1-2",
            "Action 1-3"
         ],
         "Materials": [
            "Material 1-1",
         ]
      },
      {
         "QuestionTitle": "Question Title 2",
         "Actions": [
            "Action 2-1",
            "Action 2-2",
         ],
         "Materials": [
         ]
      },
      {
         "QuestionTitle": "Question Title 3",
         "Actions": [
            "Action 3-1",
            "Action 3-2",
         ],
         "Materials": [
            "Material 3-1",
            "Material 3-2",
            "Material 3-3",
            "Material 3-4",
            "Material 3-5"
         ]
      }
   ]
}
Now I want to generate a report like as follows:
report-sample.JPG
Report Sample
report-sample.JPG (32.53 KiB) Viewed 102 times
Thanks in advance
Lech Kulikowski
Posts: 4052
Joined: Tue Mar 20, 2018 5:34 am

Re: Generate report with nested arrays?

Post by Lech Kulikowski » Mon Sep 27, 2021 1:41 pm

Hello,

You can use the master-detail construction with panels.

Thank you.
Attachments
ReportSample.mrt
(11.86 KiB) Downloaded 8 times
Post Reply