You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@grapecity/ar-viewer-ja

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grapecity/ar-viewer-ja

Fast, full featured, JavaScript report viewer for ActiveReports report definition files. Features include printing, exporting, and searching.

16.4.2
latest
npmnpm
Version published
Maintainers
0
Created
Source

ActiveReports Js Viewer

How to install

npm i @grapecity/ar-viewer-ja

How to include

The bundles are here: ./node_modules/@grapecity/ar-viewer-ja/dist

Using the physical path:

<head>
  ...
  <link href="./node_modules/@grapecity/ar-viewer-ja/dist/jsViewer.min.css" rel="stylesheet">
  ...
</head>
<body>
  ...
  <script type="text/javascript" src="./node_modules/@grapecity/ar-viewer-ja/dist/jsViewer.min.js"></script>
  ...
</body>

Using the package name:

import "@grapecity/ar-viewer-ja/dist/jsViewer.min.js";
import "@grapecity/ar-viewer-ja/dist/jsViewer.min.css";

Using attributes main and style from package.json:

import "@grapecity/ar-viewer-ja";

How to use

<body>
  ...
  <div id="viewerContainer" />
  ...
  <script type="text/javascript">
    let viewer;
    function loadViewer() {
        viewer = GrapeCity.ActiveReports.JSViewer.create({
        element: '#viewerContainer'
        });
    }  
    loadViewer();
    viewer.openReport('report.rdlx');
  </script>
  ...
</body>

Localization

JSViewer automatically detects the user's language and supports English, Japanese, and Chinese localizations.

To add custom localization to JSViewer, specify the URL of the JSON file containing the localization data:

GrapeCity.ActiveReports.JSViewer.create({
  element: '#viewerContainer',
  localeUri: './custom-locale.json'
});

Or pass the JSON object directly:

GrapeCity.ActiveReports.JSViewer.create({
  element: '#viewerContainer',
  localeData: JSON.parse(`{
      "export": {
        "boolTextFalse": "False",
        "boolTextTrue": "True"
      },
      "viewer": {
        "toolbar":
        {
          "refresh": "Refresh"
        }
      }
    }`
  ),
});

FAQs

Package last updated on 18 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.