Page 1 of 1

How to display hierarchical structure of the JSON in the Dictionary

Posted: Mon Apr 19, 2021 12:02 pm
by chandi
Please refer the attached screen for my code and .json file.
code wit json.png
code wit json.png (30.08 KiB) Viewed 2288 times
After loaded data sources to the designer it looks like as follows.
datasource.png
datasource.png (19.23 KiB) Viewed 2287 times
Is there anyway to remove "EmployeeDetails_" from child.

And also I want to know how I can add fields from different tables at the same time.
As example..if I want to show departments under each employee in a report how I can achieve it.


Thank You,

Re: How to display hierarchical structure of the JSON in the Dictionary

Posted: Mon Apr 19, 2021 11:09 pm
by Lech Kulikowski
Hello,

In that case, you can create a master-detail report:
https://www.stimulsoft.com/en/documenta ... report.htm
https://demo.stimulsoft.com/#Net/MasterDetail

Thank you.

Re: How to display hierarchical structure of the JSON in the Dictionary

Posted: Tue Apr 20, 2021 2:23 am
by chandi
Hi Lech,

Thanks for your reply.
Is there anyway to remove "EmployeeDetails_" from child datasource name.
And also how to load data sources like following screen instead of loading data sources for each and every sub objects. I am using JSON file to load data sources.
withsubobjects.PNG
withsubobjects.PNG (13.03 KiB) Viewed 2264 times

Re: How to display hierarchical structure of the JSON in the Dictionary

Posted: Tue Apr 20, 2021 9:41 pm
by Lech Kulikowski
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.