Cloud
Облачный сервис для быстрого и эффективного анализа и визуализации данных для вашего бизнеса без необходимости создания своих приложений и программирования.
var report = new Stimulsoft.Report.StiReport();
report.loadFile("../reports/SimpleList.mrt");
report.renderAsync(function () { });
function saveReportHtml() {
report.exportDocumentAsync(function (htmlString) {
var fileName = report.reportAlias;
Stimulsoft.System.StiObject.saveAs(htmlString, fileName + ".html", "text/html;charset=utf-8");
}, Stimulsoft.Report.StiExportFormat.Html);
}The export callback receives the HTML as a string, which you can insert into the page or, as here, download as a file. Passing a different StiExportFormat value exports to PDF, Excel, Word and other formats with the same call.