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
Full Screen on iOS with Safari or Chrome
Full Screen on iOS with Safari or Chrome
- Attachments
-
- Dashboard_Windows_Chrome.png (65.52 KiB) Viewed 2223 times
-
- IMG_0179.PNG (451.78 KiB) Viewed 2223 times
-
- Posts: 6381
- Joined: Tue Mar 20, 2018 5:34 am
Re: Full Screen on iOS with Safari or Chrome
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#5752
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#5752
-
- Posts: 6381
- Joined: Tue Mar 20, 2018 5:34 am
Re: Full Screen on iOS with Safari or Chrome
Hello,
We have added a new option:
viewerOptions.appearance.allowMobileMode = false;
it will be available in the next release build, within week.
Thank you.
We have added a new option:
viewerOptions.appearance.allowMobileMode = false;
it will be available in the next release build, within week.
Thank you.
Re: Full Screen on iOS with Safari or Chrome
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
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
-
- Posts: 6381
- Joined: Tue Mar 20, 2018 5:34 am
Re: Full Screen on iOS with Safari or Chrome
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.
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.
Re: Full Screen on iOS with Safari or Chrome
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.
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.
-
- Posts: 6381
- Joined: Tue Mar 20, 2018 5:34 am
Re: Full Screen on iOS with Safari or Chrome
Hello,
You are welcome.
You are welcome.