First step

Stimulsoft Reports.JS discussion
Post Reply
eduardo12fox
Posts: 8
Joined: Fri Nov 22, 2019 9:20 pm

First step

Post by eduardo12fox »

I´m create the fist script and I create below - But not render someone help-me

Code: Select all

<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Designer</title>

    <link id="stiviewer_stylesheet" href="styles/stimulsoft.viewer.office2013.whiteblue.css" rel="stylesheet">
    <link id="stidesigner_stylesheet" href="styles/stimulsoft.designer.office2013.whiteblue.css" rel="stylesheet">
    <link id="stidesignerruntime_stylesheet" href="styles/stimulsoft.designer.runtime.office2013.whiteblue.css" rel="stylesheet">

    <script src="scripts/jquery.1.8.3.js" type="text/javascript"></script>
    <script src="scripts/stimulsoft.reports.js" type="text/javascript"></script>
    <script src="scripts/stimulsoft.reports.maps.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>
    <script src="scripts/stimulsoft.designer.runtime.js" type="text/javascript"></script>
	
	<script type="text/javascript">
	
			function onLoad(){

				Stimulsoft.Base.Stilicense.loadFromFile("license.key");

				var options = new Stimulsoft.Designer.StiDesignerOptions();
				options.appearance.fullScreenMode = true;

				var report = new Stimulsoft.Report.StiReport();
				var designer = new Stimulsoft.Designer.StiDesigner(options, "StiDesigner", false);
				designer.renderHTML("content");

				var report = Stimulsoft.Report.StiReport.createNewReport();
				designer.report = report;

			}

	</script>
</head>
<body onload="onLoad()">
	<div id="content">Here</div>
</body>
</html>
But not render someone help-me
Lech Kulikowski
Posts: 6245
Joined: Tue Mar 20, 2018 5:34 am

Re: First step

Post by Lech Kulikowski »

Hello,

Please check samples at the following link:
https://github.com/stimulsoft/Samples-JS

Thank you.
Post Reply