Full Screen on iOS with Safari or Chrome

Stimulsoft Dashboards.JS discussion
Post Reply
harzmann
Posts: 5
Joined: Wed Dec 01, 2021 11:14 pm

Full Screen on iOS with Safari or Chrome

Post by harzmann »

Hello Forum,
I have created a Dashboard and integrate it in my Flask Application on a html-template.
The Full-Screen Option ist set to false, because I DON'T want to show the Dashboard in Full-Screen.

On a Windows Client with Chrome or Edge Browser it works fine - see attached Screenshot.
Only on an iOS based Tablet (e.g. iPad Air 4 with iOS14.8.1) the Dashboard is always displayed in Full-Screen - see attached Screenshot.
Does someone have a fix for me?

My Javascript code:
<!-- Report viewer scripts, may be external -->
<script type="text/javascript">

// Set full screen mode for the viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.scrollbarsMode = true;
options.appearance.fullScreenMode = false;

// Create the dashboard viewer with specified options
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
var report = Stimulsoft.Report.StiReport.createNewDashboard();

// Load dashboard from url
report.loadFile("{{ url_for('static', filename='reports/dlcDashboard.mrt')}}");

// Create new DataSet object
var dataSetDLC = new Stimulsoft.System.Data.DataSet("dlcJSON");
var dataSetDDS = new Stimulsoft.System.Data.DataSet("ddsJSON");

// Remove all connections from the dashboard template
report.dictionary.databases.clear();

$.getJSON('/v_dlc_analysis/select_v_dlc_analysis', function ( data ) {
console.log(data);
dataSetDLC.readJson(data);

// Register DataSet object
report.regData(dataSetDLC.dataSetName, "", dataSetDLC);

});

$.getJSON('/v_dds_analysis/select_v_dds_analysis', function ( data ) {
console.log(data);
dataSetDDS.readJson(data);

// Register DataSet object
report.regData(dataSetDDS.dataSetName, "", dataSetDDS);

});

// Show dashboard in the Viewer
viewer.report = report;


</script>

Thanks for your help in advance.
Greetings Joerg
Attachments
Dashboard_Windows_Chrome.png
Dashboard_Windows_Chrome.png (65.52 KiB) Viewed 1727 times
IMG_0179.PNG
IMG_0179.PNG (451.78 KiB) Viewed 1727 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Full Screen on iOS with Safari or Chrome

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#5752
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Full Screen on iOS with Safari or Chrome

Post by Lech Kulikowski »

Hello,

We have added a new option:
viewerOptions.appearance.allowMobileMode = false;
it will be available in the next release build, within week.

Thank you.
harzmann
Posts: 5
Joined: Wed Dec 01, 2021 11:14 pm

Re: Full Screen on iOS with Safari or Chrome

Post by harzmann »

Hello Support Team,
I have downloaded the latest version from 21/12/07 and set the option:

// Set full screen mode for the viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.scrollbarsMode = true;
options.appearance.fullScreenMode = false;
options.appearance.allowMobileMode = false;

// Create the report viewer with default options
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);

But the issue still exists. Is the option integrated in this version? Have I set it right?

Thanks for your support and reply in advance.

BR Joerg
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Full Screen on iOS with Safari or Chrome

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Could you provide more detailed information on how to reproduce it?
Please send us a sample project that reproduces the issue for analysis.

Thank you.
harzmann
Posts: 5
Joined: Wed Dec 01, 2021 11:14 pm

Re: Full Screen on iOS with Safari or Chrome

Post by harzmann »

Hi Support Team,

found the error (internal error in production/development deployment). Sorry was my fault.
Now it works great!
Thanks for your fast and great support.

Greetings and merry XMas.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Full Screen on iOS with Safari or Chrome

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply