V1
ViewerOptions ActiveReportsJS API Interface

ViewerOptions Interface

Viewer control settings.

Heirarchy

  • ViewerOptions

Properties

Optional ErrorHandler

ErrorHandler: PluginModel.ErrorHandler

Custom error handler:

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

Optional ExportsSettings

ExportsSettings: Record<string, ExportSettings>

Initial settings for export panel:

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

Optional PanelsLocation

PanelsLocation: PanelsLocation

Location of panels.

Optional language

language: undefined | string

Viewer language.