By default, the instance of the Web Designer component displays the blank RDL report.
To load an existing report in the designer on the instance of the designer, set the reportInfo property as shown below. The Report1.rdlx must be added in the resources folder of the project.
Copy Code
|
|
---|---|
const designerOptions = GrapeCity.ActiveReports.WebDesigner.createDesignerOptions(); designerOptions.reportInfo = { id: "Report1.rdlx" }; |
To open a report kept on your machine, you need to enable the 'Open' button as shown below
Copy Code
|
|
---|---|
const designerOptions = GrapeCity.ActiveReports.WebDesigner.createDesignerOptions(); designerOptions.openButton.visible = true; |