Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
$report = new StiReport();
$report->onBeforeRender = 'onBeforeRender';
$viewer->process();
$report->loadFile('../reports/SimpleList.mrt');
$viewer->report = $report;function onBeforeRender(args) {
let dataSet = new Stimulsoft.System.Data.DataSet("Demo");
dataSet.readJson(jsonData);
args.report.dictionary.databases.clear();
args.report.regData("Demo", "Demo", dataSet);
}onBeforeRender = 'onBeforeRender' — names the JavaScript function that runs in the browser just before the report renders.new Stimulsoft.System.Data.DataSet / readJson — builds a dataset on the client and fills it from JSON.dictionary.databases.clear() — removes the design-time data connections so only your data is used.regData("Demo", "Demo", dataSet) — registers the dataset with the report under a data source name.regData before the report is rendered.