18.0.2 • Published 4 months ago

@grapecity/ar-viewer-ja v18.0.2

Weekly downloads
31
License
Commercial
Repository
-
Last release
4 months ago

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"
        }
      }
    }`
  ),
});
18.0.2

4 months ago

18.0.1

6 months ago

16.3.5

7 months ago

18.0.0

7 months ago

16.2.0

1 year ago

16.2.1

1 year ago

16.1.1

2 years ago

14.4.2918

2 years ago

16.1.0

2 years ago

16.0.1

2 years ago

14.3.2904

2 years ago

16.0.0

3 years ago

14.3.2854

3 years ago

14.2.2705

4 years ago

14.1.2619

4 years ago

14.1.2572

4 years ago

14.1.2556

4 years ago

14.1.2534

4 years ago

14.0.2347

4 years ago

14.1.2301

4 years ago

14.0.2299

4 years ago

14.0.2162

4 years ago

14.0.2145

5 years ago

14.0.2128

5 years ago

14.0.2007

5 years ago

14.0.1984-beta

5 years ago