Thank you.
I sent the request to the support email.
Here is a short video demonstrating the behavior.
http://www.fluidocosmico.com/stimulsoft/StimulSoft.mp4
The operating system is Centos 7 - 64bit.
[root@noteserver ReportPHP_StimulSoft]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.8.2003 (Core)
Release: 7.8.2003
Codename: Core
This is the php code that generates the report :
************************************************
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Visualização de Relatórios</title>
<!-- Report Office2013 style -->
<link href="<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/'?>css/stimulsoft.viewer.office2013.whiteteal.css" rel="stylesheet">
<!-- Stimusloft Reports.JS -->
<script src="<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/'?>scripts/stimulsoft.reports.js" type="text/javascript"></script>
<script src="<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/'?>scripts/stimulsoft.viewer.js" type="text/javascript"></script>
<style>
#StiViewer_ParametersPanel {
display: none;
}
</style>
<?php
$options = StiHelper::createOptions();
$options->handler = "relatorios/includes/Relatorio_handler_geral.php";
$options->timeout = 30;
StiHelper::initialize($options);
StiHelper::createHandler();
?>
<script type="text/javascript">
Stimulsoft.Base.Localization.StiLocalization.addLocalizationFile("<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/' . 'localization/pt-BR.xml' ?>", false, 'Portuguese (Brazil)');
Stimulsoft.Base.Localization.StiLocalization.setLocalizationFile("<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/' . 'localization/pt-BR.xml' ?>" );
Stimulsoft.Base.Localization.StiLocalization.setLocalizationFile("<?php echo URL_HTTP_SERVER_PORT . rtrim( INDEX_URL_POST, '/' ) . '/ReportPHP_StimulSoft/JS/' . 'localization/pt-BR.xml' ?>", true);
// Specify necessary options for the viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
options.appearance.fullScreenMode = true;
options.height = "100%";
options.appearance.scrollbarsMode = true;
options.appearance.htmlRenderMode = Stimulsoft.Report.Export.StiHtmlExportMode.Table;
options.toolbar.visible = true;
options.toolbar.showSendEmailButton = true;
//options.toolbar.printDestination = Stimulsoft.Viewer.StiPrintDestination.Direct;
options.toolbar.showPrintButton = true;
options.toolbar.showSaveButton = true;
options.toolbar.showBookmarksButton = true;
options.toolbar.showParametersButton = true;
options.toolbar.showEditorButton = true;
options.toolbar.showFullScreenButton = true;
options.toolbar.showFirstPageButton = true;
options.toolbar.showPreviousPageButton = true;
options.toolbar.showCurrentPageControl = true;
options.toolbar.showNextPageButton = true;
options.toolbar.showLastPageButton = true;
options.toolbar.showZoomButton = true;
options.toolbar.showViewModeButton = true;
options.toolbar.showDesignButton = false;
options.toolbar.showAboutButton = true;
options.toolbar.viewMode = Stimulsoft.Viewer.StiWebViewMode.OnePage; //Stimulsoft.Viewer.StiWebViewMode.WholeReport
options.toolbar.menuAnimation = true;
options.toolbar.showMenuMode = Stimulsoft.Viewer.StiShowMenuMode.Click;
options.toolbar.zoom = 150;
options.exports.showExportDialog = true;
options.exports.showExportToDocument = true;
options.exports.showExportToPdf = true;
options.exports.showExportToHtml = true;
options.exports.showExportToWord2007 = true;
options.exports.showExportToExcel2007 = true;
var viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
// Process SQL data source
viewer.onBeginProcessData = function (event, callback) {
<?php StiHelper::createHandler(); ?>
}
// Manage export settings on the server side
viewer.onBeginExportReport = function (args) {
<?php //StiHelper::createHandler(); ?>
//args.fileName = "MyReportName";
}
// Process exported report file on the server side
/*viewer.onEndExportReport = function (event) {
event.preventDefault = true; // Prevent client default event handler (save the exported report as a file)
<?php StiHelper::createHandler(); ?>
}*/
// Send exported report to Email
viewer.onEmailReport = function (event) {
<?php StiHelper::createHandler(); ?>
}
// Load and show report
var report = new Stimulsoft.Report.StiReport();
console.log("Before LoadFile");
report.loadFile('<?php echo "$sNomeFormLoad"?>');
// debug
var myVar = setInterval(myTimer, 2000);
function myTimer() {
if (viewer.report.isRendered == true){
window.clearInterval(myVar);
console.log("Rendered!");
//saveReportPdf();
// alert( "isRendered" );
}
}
</script>
</head>
<body onload="onLoad();">
<div id="viewerContent"></div>
</body>
</html>
************************************************