ActiveReportsJS, Angular Reporting Component

The Choice of Angular Developers Worldwide for Frontend Reporting Solution Development

Create and deploy reports quickly and easily from your Angular applications using ActiveReportsJS, an Angular-based business reporting component.

Why ActiveReportsJS

Why Choose ActiveReportsJS Angular Apps?

Powerful Data Binding

ActiveReportsJS supports REST API, OData, and GraphQL bindings, allowing you to quickly and easily connect to JSON-formatted data.

Angular Support

ActiveReportsJS supports Angular v17 and higher. Develop web reports more efficiently using the popular JavaScript framework.

No Server Dependency

You can integrate the ActiveReportsJS reporting engine into your frontend applications using NPM packages, CDN hosting, or app-hosted JavaScript code with no server-side dependencies.

Client-Side Export and Printing

Quickly generate WYSIWYG reports on the client side and export them to PDF, HTML, and CSV formats. This allows end users to print complete JavaScript reports.

Support for Various Report Types

You can create reports in a format that suits your needs, such as continuous page layout, fixed page layout, etc.

Interactive JS Report Design

Drilldown, drillthrough, interactive sorting, and bookmarking features allow you to interact and provide more specific information to your end users.


Quick Start

Getting Started with ActiveReportsJS in Angular 🚀

Creating reports using the ActiveReportsJS Designer

1. After downloading the ActiveReportsJS file, install and run the designer program.

* The designer program installation file is located in the designer folder of the downloaded file.

2. Create the report you want using the designer.

After adding the data source and designing the report, save the generated report as "report.rdlx-json"

(you can change the file name to whatever you like).


Place the saved report in the public folder of your Angular app.

Adding the ActiveReportsJS Viewer to an Angular Application

* The guide below uses Angular v20

1. Go to the Angular app folder and install the ActiveReportsJS library.

npm install @mescius/activereportsjs-angular

2. Add a css file to apply ActiveReportsJS styles.

Open the style.css file of the Angular app you want to work on, and add the ActiveReportsJS CSS file at the bottom.

Please check the sample below for the exact location of the code.

@import "@mescius/activereportsjs/styles/ar-js-ui.css";

@import  "@mescius/activereportsjs/styles/ar-js-viewer.css";

3. Add the ActiveReportsJS Angular module and report viewer to your application.

 1) Open the src/app/app-module.ts file and replace its contents with the following code.

import { NgModule, provideBrowserGlobalErrorListeners } from  '@angular/core' ;

import { BrowserModule } from  '@angular/platform-browser' ;

import { ActiveReportsModule } from  '@mescius/activereportsjs-angular' ;

import { AppRoutingModule } from  './app-routing-module' ;

import { App } from  './app' ;


@NgModule({

  declarations:  [

    App

  ],

  imports:  [

    BrowserModule,

AppRoutingModule,

    ActiveReportsModule

  ],

  providers:  [

provideBrowserGlobalErrorListeners()

  ],

  bootstrap:  [App]

})

export  class  AppModule { }

 2) Open the src/app/app.ts file and specify the component template as shown in the code below.

@Component({

  selector  : 'app-root'  ,

  template :

   '<div id="viewer-host"><gc-activereports-viewer (init)="onViewerInit()"> </gc-activereports-viewer></div> ' ,

  standalone : false ,

  styleUrl :  './app.css' ,

})

 3) The Init event handler inside src/app/app.ts set above is set to open the generated report "report.rdlx-json"

* Please set the report name dynamically according to the previously created file.

export class AppComponent  {

  @ViewChild(ViewerComponent, { static: false }) reportViewer! : ViewerComponent ;

onViewerInit() {

    this.reportViewer.open( 'report.rdlx-json' );

  }

}

4. Add styles to the viewer-host element.

 Open the src/app/app.css file and add the CSS styles below.

#viewer-host  {

 width:  100%;

 height:  100vh;

}

Please check the sample below for the full code.

5. Run the Angular app and check the results.

Run it using the npm start or yarn start, ng serve command.

npm start

View More

For Angular Developers

Recommended Tutorial for Beginners to ActiveReportsJS

View More

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.

  • Certificate of Employment

    This is a sample Certificate of Employment, an official document verifying an employee’s employment status, including department, position, date of joining, and period of employment.


    Download .rdlx-json file

    View Demo
    Read More
  • Blood Test Report

    This is a sample Blood Test Report, a document that organizes various blood parameters to assess a patient’s health or detect the presence of diseases, including detailed blood test results.


    Download .rdlx-json file

    View Demo
    Read More
  • Transfer Confirmation Receipt

    This is a sample Transfer Confirmation Receipt, a document that verifies a bank account transfer has been successfully processed, showing details such as the account and transfer amount.


    Download .rdlx-json file

    View Demo
    Read More
  • Inventory Investigation Report

    This is a sample inventory report, a document used to determine the current inventory status of products or materials held by a company. It records information on inventory status by item.


    Download .rdlx-json file

    View Demo
    Read More
  • Transaction Statement

    This is a sample transaction statement, a document that records transaction details between suppliers and business partners, including the items transacted, quantity, and unit price.


    Download .rdlx-json file

    View Demo
    Read More
  • High-Speed Ferry Mobile e-Ticket

    This is a sample high-speed vessel mobile e-ticket, designed to allow customers who purchased tickets using mobile e-tickets and conveniently check high-speed vessel-related information on their mobile devices.


    Download .rdlx-json file

    View Demo
    Read More
  • High-Speed Ship e-Ticket

    This is a sample high-speed vessel e-ticket (e-ticket) containing customer information and high-speed vessel-related details for purchasing a ticket using an e-ticket for high-speed vessels.


    Download .rdlx-json file

    View Demo
    Read More
  • Water Quality Test Report

    This sample water quality test report serves as a document confirming that the water provided is safe and meets regulatory standards, providing consumers with confidence and demonstrating the sanitary management status of public facilities.


    Download .rdlx-json file

    View Demo
    Read More
  • Cosmetics Test Report

    This is a sample cosmetics test report that verifies the safety and reliability of ingredients in cosmetics.


    Download .rdlx-json file

    View Demo
    Read More
  • Electronic Ticket Issuance Confirmation

    This is a sample e-ticket issuance confirmation document issued to passengers who have purchased a ticket, containing boarding information and instructions.


    Download .rdlx-json file

    View Demo
    Read More
  • Graduation Certificate

    This is a sample graduation certificate used to officially prove graduation.


    Download .rdlx-json file

    View Demo
    Read More
  • Tax Invoice

    This is a sample tax invoice required to prove a transaction and calculate value-added tax.


    Download .rdlx-json file

    View Demo
  • Estimate

    Here's a sample quotation, including pricing information, terms and conditions, supplier and purchaser information, and more.


    Download .rdlx-json file

    View Demo
  • Transcript

    This is a sample transcript that officially certifies a student's academic performance.


    Download .rdlx-json file

    View Demo
  • Customer List

    This sample was created to display customer information using a fixed page layout.


    Download .rdlx-json file

    View Demo
Want More Templates & Samples?

Visit our ActiveReportsJS online tutorial showcase!