Showing the Dashboard Designer in a Required Position
Our sample projects and report templates can help you learn the basics of working with our products.The dashboard designer can be placed into any element on your page rather than filling the window. This example renders it into a specific container.
Designer setup. Configure the designer, load the dashboard template, process its callbacks, and connect the save action to the application.
Designer setup. Configure the designer, load the dashboard template, process its callbacks, and connect the save action to the application.
var designer = new Stimulsoft.Designer.StiDesigner(null, "StiDesigner", false);
var report = Stimulsoft.Report.StiReport.createNewDashboard();
report.loadFile("../dashboard/Christmas.mrt");
designer.report = report;
designer.renderHtml("content"); // id of the target elementPassing an element id to renderHtml draws the designer inside that element, so you can position and size it with your own HTML and CSS.