Open Designer In Full Screen

Stimulsoft Reports.JS discussion
Post Reply
felipemoreira
Posts: 38
Joined: Wed Mar 30, 2016 1:52 pm
Location: Brazil

Open Designer In Full Screen

Post by felipemoreira »

Hi again.

Following documentation, my code :

Code: Select all

$("#services").on('click', function() {
    var report = new Stimulsoft.Report.StiReport();
    report.loadFile("js/report_teste.mrt");
    var designer = new Stimulsoft.Designer.StiDesigner(null,"StiDesigner", false);
    designer.report = report;
    designer.renderHtml("report_designer");
});
This works. I have and id "report_designer" right below my div container, but I want to open it in full screen. I tried this code:

Code: Select all

 designer.renderHtml(); // Like documentation
And

Code: Select all

designer.renderHtml("designerContent"); Like documentation
But the result was the same below:
erro_designer.png
erro_designer.png (18.14 KiB) Viewed 1496 times
What i need to do, to open my report in the designer it in full screen ?
felipemoreira
Posts: 38
Joined: Wed Mar 30, 2016 1:52 pm
Location: Brazil

Re: Open Designer In Full Screen

Post by felipemoreira »

Hi.
Solved adding options as first argument on:

Code: Select all

Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
Where the options are:

Code: Select all

var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.fullScreenMode = true;
You guys can close this thread.

Thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Open Designer In Full Screen

Post by HighAley »

Hello.

Great!
Let us know if you need our help.

Thank you.
Post Reply