
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@grapecity/ar-viewer
Advanced tools
Fast, full featured, JavaScript report viewer for ActiveReports report definition files. Features include printing, exporting, and searching.
npm i @grapecity/ar-viewer --save-dev
The bundles are here: ./node_modules/@grapecity/ar-viewer/dist
Using the physical path:
<head>
...
<link href="./node_modules/@grapecity/ar-viewer/dist/jsViewer.min.css" rel="stylesheet">
...
</head>
<body>
...
<script type="text/javascript" src="./node_modules/@grapecity/ar-viewer/dist/jsViewer.min.js"></script>
...
</body>
Using the package name:
import "@grapecity/ar-viewer/dist/jsViewer.min.js";
import "@grapecity/ar-viewer/dist/jsViewer.min.css";
Using attributes main
and style
from package.json
:
import "@grapecity/ar-viewer";
<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>
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
Fast, full featured, JavaScript report viewer for ActiveReports report definition files. Features include printing, exporting, and searching.
The npm package @grapecity/ar-viewer receives a total of 143 weekly downloads. As such, @grapecity/ar-viewer popularity was classified as not popular.
We found that @grapecity/ar-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.