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.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.