stimulsoft/Samples-Reports.JS-for-React
JavaScript samples for Reports.JS reporting components for React applications
React samples for Stimulsoft Reports.JS
Overview
This repository contains the source code of the examples of usage Stimulsoft Reports.JS reporting tool in the React applications, using JavaScript code and React components.
Localization and Globalization
Fonts and Resources
Printing and Exporting
- Printing a Report from Code
- Exporting a Report to PDF
- Exporting a Report to HTML
- Exporting a Report from Code with Changing Export Settings
- Exporting Many Files to Single PDF
Data Connection and Registration
- Creating a new Data Connection from code
- Registering Data from Code
- Using SQL Data Sources
- Using Parameters in SQL Query
- Using a Custom Data Adapter
- Supply Custom Headers for JSON Database
Working with Viewer Settings and Events
- Customizing the Designer
- Changing the Designer Theme
- Customizing the Viewer
- Changing the Viewer Theme
- Showing a Report in the Viewer without Toolbar
- Using Designer Events
- Using Viewer Events
- Working with onDesign and onExit Events
- Using the two Viewer in the One Project
- Get a modified Report from the Designer
- Using the Right-To-Left Mode in the Viewer
Working with Reports and Advanced Features
- How to Activate the Product
- Rendering a Report from Code
- Using Report Variables in Code
- Creating Report at Runtime
Running samples
To run the examples, run the following commands in the console:
- use
npm installto install requred modules; - use
npm startto run sample; - navigate to http://localhost:3000/.
Connect to SQL databases
Since pure JavaScript does not have built-in methods for working with remote databases, this functionality is implemented using server-side code. Therefore, Stimulsoft Reports.JS product contains server data adapters implemented using PHP, Node.js, ASP.NET, Java, .NET Core technologies.
Other JS reporting components
Many examples for other platforms and technologies are collected in separate repositories:
About Stimulsoft Reports.JS
Stimulsoft Reports.JS offers a wide range of reporting components created in pure JavaScript. The report builder can be easily integrated into any JavaScript app, works in any modern browser – Chrome, Firefox, Safari, Edge, and supports Node.js. The product contains everything you need to create, edit, build, view and export reports of high complexity.