I'm having issue with binding json data source
Changed just little bit your example code to have something like this:
Code: Select all
var report = new Stimulsoft.Report.StiReport();
var jsonDataBase = new Stimulsoft.Report.Dictionary.StiJsonDatabase("Demo", "demo.json");
report.dictionary.databases.add(jsonDataBase);
var designer = new Stimulsoft.Designer.StiDesigner();
designer.report = report;
However, when I try to load the same json file within designer itself, it asks me which tables I want to import and then I can see all fields .
Is there something else that needs to be done while setting the database so that designer displays all tables and fields from the json file ?
(demo.json is the one found in Samples\JavaScript\reports folder)
Appreciate any help I can get

Thanks