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->javascript->relativePath = '../';
$report->onAfterRender = 'onAfterRender';
$report->process();
$report->loadFile('../reports/SimpleList.mrt');
$report->render();Handle the result in JavaScript.function onAfterRender(args) {
// args.report is the rendered document
let pages = args.report.renderedPages.count;
let json = args.report.saveDocumentToJsonString();
}$report->render() — emits the JavaScript that builds the report on the client; nothing is rendered server-side.onAfterRender — client callback with the finished args.report, ready to inspect or serialize with saveDocumentToJsonString().