The dashboard designer can be built entirely in client JavaScript, with PHP acting only as the StiHandler request handler.

Process requests in PHP.
$handler = new StiHandler();
$handler->process();
Build the designer in JavaScript.
let designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
designer.onBeginProcessData = (args, callback) => Stimulsoft.handler.process(args, callback);

let report = new Stimulsoft.Report.StiReport();
report.loadFile("../reports/Christmas.mrt");
designer.report = report;

designer.renderHtml("designerContent");

How it works. Users edit the dashboard in the browser; the PHP handler is reached only for data, so the designer stays a client-side component.

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.