[]
        
(Showing Draft Content)

ReportViewer.ViewerOptions

Interface: ViewerOptions

ReportViewer.ViewerOptions

Viewer control settings.

Table of contents

Properties

Properties

ErrorHandler

Optional ErrorHandler: ErrorHandler

Custom error handler:

var options = {
	ErrorHandler: error => {
		console.error(error.message);
		return true;
		}
};

ExportsSettings

Optional ExportsSettings: Record<string, ExportSettings>

Initial settings for export panel:

var options = {
	ExportsSettings: {
		pdf: { ... },
		xlsx: { ... },
		html: { ... }
	}
};

PanelsLayout

Optional PanelsLayout: PanelsLocation

Layout of panels bar.


PanelsLocation

Optional PanelsLocation: PanelsLocation

obsolete Location of panels.


ParameterPanelLocation

Optional ParameterPanelLocation: ParameterPanelLocation

Parameters panel location.


ToolbarLayout

Optional ToolbarLayout: ToolbarLayout

Initial toolbar layout:

var options = {
 ToolbarLayout: {
		default: ['$navigation', '$refresh', '$zoom', '$fullscreen'],
		fullscreen: ['$refresh', '$print', '$fullscreen'],
		mobile: ['$refresh', '$navigation', '$split', '$fullscreen']}
 }
};

language

Optional language: string

Viewer language.


memoizeData

Optional memoizeData: boolean

Enables report data memoization if set to "true".