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.
onAssignedReport lets you capture it.import { Designer, Stimulsoft } from "stimulsoft-dashboards-js-react/designer";
function App() {
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Dashboards/Dashboard.mrt");
var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.fullScreenMode = true;
function onAssignedReport(args: Stimulsoft.Designer.AssignedReportArgs) {
report = args.report;
}
return <Designer options={options} report={report} onAssignedReport={onAssignedReport} />;
}onAssignedReport → args.report — the new dashboard object after the user opens or changes it.report is a two-way binding, so your variable stays in sync.