The designer, like the viewer, can be created in client JavaScript with PHP serving only as the StiHandler request handler.

Process requests in PHP.
$handler = new StiHandler();
$handler->process();
Build the designer in JavaScript.
let options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.fullScreenMode = true;

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/SimpleList.mrt");
designer.report = report;

designer.renderHtml("designerContent");

How it works. Users edit the template 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.