Page 1 of 1

Open Designer In Full Screen

Posted: Fri Apr 01, 2016 2:05 pm
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 1756 times
What i need to do, to open my report in the designer it in full screen ?

Re: Open Designer In Full Screen

Posted: Fri Apr 01, 2016 5:16 pm
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.

Re: Open Designer In Full Screen

Posted: Mon Apr 04, 2016 11:46 am
by HighAley
Hello.

Great!
Let us know if you need our help.

Thank you.