This example shows how to load a report template and edit it in the designer. You need to create the report object of the StiReport type, then load the report template file by calling the loadFile() method. To edit report in the designer, you can simply assign a report object to the report property of the designer:
<script type="text/javascript">
	// Set the full screen mode for the designer
	var options = new Stimulsoft.Designer.StiDesignerOptions();
	options.appearance.fullScreenMode = true;
	
	// Create the report designer with specified options
	var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
	// Create a new report instance
	var report = new Stimulsoft.Report.StiReport();
	// Load report from url
	report.loadFile("../reports/SimpleList.mrt");
	// Edit report template in the designer
	designer.report = report;
</script>

In the screenshot below you can see the result of the sample code:

Editing a Report Template in the Designer

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.