[]
ReportViewer.ViewerOptions
Viewer control settings.
• Optional
ErrorHandler: ErrorHandler
Custom error handler:
var options = {
ErrorHandler: error => {
console.error(error.message);
return true;
}
};
• Optional
ExportsSettings: Record
<string
, ExportSettings
>
Initial settings for export panel:
var options = {
ExportsSettings: {
pdf: { ... },
xlsx: { ... },
html: { ... }
}
};
• Optional
PanelsLayout: PanelsLocation
Layout of panels bar.
• Optional
ParameterPanelLocation: ParameterPanelLocation
Parameters panel location.
• Optional
ToolbarLayout: ToolbarLayout
Initial toolbar layout:
var options = {
ToolbarLayout: {
default: ['$navigation', '$refresh', '$zoom', '$fullscreen'],
fullscreen: ['$refresh', '$print', '$fullscreen'],
mobile: ['$refresh', '$navigation', '$split', '$fullscreen']}
}
};
• Optional
language: string
Viewer language.
• Optional
memoizeData: boolean
Enables report data memoization if set to "true".
• Optional
theme: BuiltInUITheme
UI theme