Code: Select all
<!DOCTYPE html>
<html>
<head>
<!-- Report Designer Office2013 style -->
<link href="../Css/stimulsoft.designer.office2013.whiteblue.css" rel="stylesheet">
<!-- Stimusloft Reports.JS -->
<script src="../Scripts/stimulsoft.reports.js" type="text/javascript"></script>
<script src="../Scripts/stimulsoft.viewer.js" type="text/javascript"></script>
<script src="../Scripts/stimulsoft.designer.js" type="text/javascript"></script>
<!-- Application scripts -->
<script>
function createDesigner() {
StiOptions.WebServer.url = "gi/JS/DataAdapters/PHP/handler.php";
//Server=localhost; Database=gi_development; uid=root; password=admin;
var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.fullScreenMode = true;
options.appearance.htmlRenderMode = Stimulsoft.Report.Export.StiHtmlExportMode.Table;
// Create an instance of the designer
designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
designer.renderHtml("designerContent");
}
//After Body load call createDesigner function
function onBodyLoad()
{
createDesigner();
}
</script>
</head>
<body onload="onBodyLoad();">
<h1>Test Report</h1>
<div id="designerContent"></div>
</body>
</html>
I'm not sure what I should be entering in the first 3 fields. Also I'm not sure whether the php script name I've entered in my html is correct.
All advice gratefully received with thanks.