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.
import { Viewer, Stimulsoft } from 'stimulsoft-reports-js-react/viewer';
function App() {
var report = new Stimulsoft.Report.StiReport();
report.loadFile('Reports/SimpleList.mrt');
report.dictionary.clear();
var database = new Stimulsoft.Report.Dictionary.StiJsonDatabase('Demo', 'Data/Demo.json');
report.dictionary.databases.add(database);
report.dictionary.synchronize();
return <Viewer report={report} />;
}
export default App;StiJsonDatabase is created with a name and a path to the JSON file, added to dictionary.databases, and dictionary.synchronize() rebuilds the data schema so the report can bind to it.