Why ActiveReportsJS
Why Choose ActiveReportsJS for React App?
3. Add styles to the viewer-host element.
Open the src/App.css file and replace the code with the CSS style below.
@import "@mescius/activereportsjs/styles/ar-js-ui.css";
@import "@mescius/activereportsjs/styles/ar-js-viewer.css";
#viewer-host {
width: 100%;
height: 100vh;
}
4. Add packages and files to easily change the React environment with Craco.
1) Install the Craco package into your application.
npm i -D @craco/craco
2) Create a craco.config.js file and insert the code below.
5. Open the package.json file and change the react-script content to craco as shown below.
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "eject the crack"
}
Please check the sample below for the full code.
6. Run the React app and check the results.
Run it using the npm start or yarn start command.
npm start
ActiveReportsJS Starter Template
Jump-Start Your Development with Customizable Samples and templates.
A variety of templates and samples using ActiveReportsJS. You can view live demos and download them to customize and use yourself.
ActiveReportsJS Key Features For React
List of Services
-
Powerful Data BindingList Item 1Enhanced data binding capabilities allow you to quickly and easily bind reports to REST APIs, OData, and GraphQL.
-
Flexible Report LayoutList Item 2Choose from two different layout types and a variety of controls to create a more complete report.
-
Data VisualizationList Item 3Generate high-performance JavaScript reports for your web applications using a variety of JSON data sources. Gain greater insights through tables, lists, and charts.
-
Custom ReportsList Item 4Leverage the Report Designer component to help users create reports faster and more sophisticated.
-
Perfect ViewerUse the viewer component to provide your end users with the best viewing, exporting, and printing capabilities.
-
Front-end Framework SupportActiveReportsJS supports all major frameworks, making it easy to integrate into Angular, React, Svelte, Vue, Nuxt, Next.js, and Vite applications.