[]
        
(Showing Draft Content)

ReportViewer

Namespace: ReportViewer

Table of contents

열거형

클래스

인터페이스

유형별칭

Type aliases

DocumentLoadEventArgs

Ƭ DocumentLoadEventArgs: Object

Defines the 'documentLoaded' event arg.

Type declaration

Name Type Description
cancelled? boolean true if document rendering was cancelled
pageCount number number of document pages.

ExportSettings

Ƭ ExportSettings: Record<string, string | boolean | number | null>

Initial settings for export panel:

var exportSettings = {
	filename: 'NewFile'
};

LoadResult

Ƭ LoadResult: { document: IDocument ; status: "loaded" } | { details?: string ; message: string ; status: "error" } | { status: "cancelled" }


PanelsLocation

Ƭ PanelsLocation: "sidebar" | "toolbar"

Viewer panels location


ParameterPanelsLocation

Ƭ ParameterPanelsLocation: PanelLocation

Parameters view/panel location


ReportLoadEventArgs

Ƭ ReportLoadEventArgs: Object

'reportLoaded' event arg

Type declaration

Name Type Description
report PageReport The loaded report

SearchOptions

Ƭ SearchOptions: Object

Defines the argument type for the ReportViewer.search method.

Type declaration

Name Type Description
matchCase? boolean Case-sensitive search.
searchBackward? boolean Search backward from the current position.
startPage? number The page to start the search from.
text string Text to search for.
wholeWord? boolean Match whole word.

ToolbarItem

Ƭ ToolbarItem: Object

Defines the toolbar item settings and behavior.

Type declaration

Name Type
checked? boolean
enabled? boolean
icon? Icon
iconCssClass? string
key string
text? string
title? string
action? (curr?: ToolbarItem) => void | Partial<ToolbarItem>
onUpdate? (args: ChangedEventArgs, curr: ToolbarItem) => void | Partial<ToolbarItem>

ToolbarLayout

Ƭ ToolbarLayout: Object

Describes the toolbar items layout (order and visibility) for different view models.

Type declaration

Name Type Description
default? string[] Default (desktop) view mode. Also applied when other modes are not specified.
fullscreen? string[] The layout for the full-screen mode.
mobile? string[] The toolbar layout for mobile devices.

UnregisterHandler

Ƭ UnregisterHandler: () => any

Type declaration

▸ (): any

Unsubscribe event handler

Returns

any


ViewerMouseMode

Ƭ ViewerMouseMode: "Pan" | "Selection"

Viewer mouse mode


ViewerRenderMode

Ƭ ViewerRenderMode: "Galley" | "Paginated"

Viewer render mode


ViewerViewMode

Ƭ ViewerViewMode: "Continuous" | "SinglePage"

Viewer view mode


ViewerZoomMode

Ƭ ViewerZoomMode: "FitToWidth" | "FitPage" | number

Viewer zoom mode

X

카카오톡 채널 추가를 통해 GrapeCity의 최신 정보를 빠르게 받아 보세요!