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.
export class UsingReportVariablesInCode {
report = new Stimulsoft.Report.StiReport();
constructor() {
this.report.loadFile("Reports/Variables.mrt");
this.report.setVariable("Name", "Andrew");
this.report.setVariable("Sex", true);
this.report.setVariable("BirthDay", Stimulsoft.System.DateTime.fromString("10.10.2010"));
}
}
// template: <sti-viewer [report]="report"></sti-viewer>report.setVariable(name, value) — assign each template variable by name before the viewer renders it.Stimulsoft.System.DateTime.fromString — build a date value for DateTime variables.<sti-viewer>, so the rendered document reflects the application's state.