Optional
ToolbarOptional
create?: ((params) => JSViewer)Create and initialize JS Viewer.
JS Viewer instance.
var viewer = GrapeCity.ActiveReports.JSViewer.create({
element: '#root',
reportID: 'AnnualReport.rdlx',
availableExports: ['Xml', 'Pdf'],
// other properties
});
Initialization options.
Do export of the report without showing a viewer.
reportID:'Invoice.rdlx',
exportType: 'Pdf',
saveAsDialog: true,
settings : {
EmbedFonts:'All',
Title:'MyInvoice'
}});
The export options.
Optional
isCancelRequested: (() => boolean)The function is periodically called with a check to cancel the export task.
Print the report without showing a viewer.
reportID: 'AnnualReport.rdlx'
});
The print options.
Optional
isCancelRequested: (() => boolean)The function is periodically called with a check to cancel the export task.
A string representing the current version of the JS Viewer.
console.log(GrapeCity.ActiveReports.JSViewer.version)
The keys of the standard toolbar buttons