Reports.JS is a client-side library, so integrating it into a Tornado framework means serving the HTML pages that host the viewer and designer.

Host the designer page. The framework serves this template; the designer is built in plain JavaScript:
<script src="{{ static_url('scripts/stimulsoft.reports.js') }}"></script>

<script type="text/javascript">
    var designer = new Stimulsoft.Designer.StiDesigner(null, "StiDesigner", false);
    var report = new Stimulsoft.Report.StiReport();
    report.loadFile("REPORT_URL");
    designer.report = report;
    designer.renderHtml();
</script>

How it works. The framework is just a static host — the viewer and designer run entirely client-side, so integration is a matter of serving the right files.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.