Name | Description | |
---|---|---|
ReportViewer Constructor |
The following tables list the members exposed by ReportViewer.
Name | Description | |
---|---|---|
ReportViewer Constructor |
Name | Description | |
---|---|---|
Action | The callback that is invoked before the JS Viewer opens the hyperlink, bookmark link, drill down report or toggles the report control visibility | |
AutoBackgroundColor | When true, view area background color is filled with report body color available only for DashBoard reports | |
AvailableExports | The array of export types available via Export functionality of Viewer. | |
DefaultExportSettings | The object containing custom default export settings. Use to set default value and visibility of any field in the export panel. | |
DisplayMode | Set up single page or continuous page | |
DocumentLoaded | The callback that is invoked when a document is loaded entirely on the server | |
Error | The callback that is invoked when an error occurs in the process of displaying the report | |
Height | The height of the Viewer, by default 100% | |
HideErrors | Specifies whether to show errors in the viewer | |
InitialZoomMode | Set up the initial zoom mode | |
InitialZoomPercentage | Set up the initial zoom value in percentage | |
Locale | Specifies locale used for displaying Viewer | |
LocaleData | The JSON containing the localization strings | |
LocaleUri | The url of the file containing the localization strings | |
PanelsLocation | The position of panels (search, parameters etc): 'toolbar' or 'sidebar'. Default value is 'toolbar' | |
Parameters | The array of the {name, value} pairs that describe the parameters values used to run the report | |
ParametersPanelSettings | Set up the parameters panel settings | |
RenderFormat | Report render mode | |
RenderMode | Set up initial render mode: 'Paginated' or 'Galley'. Default value is 'Paginated' | |
ReportLoaded | The callback that is invoked when the JS Viewer obtains the information about the requested report | |
ReportName | The name of the report to be shown by the Viewer | |
ReportService | Set up the settings to connect the Web API | |
Sidebar | The viewer's sidebar instance. The developer may use it to toggle the sidebar visibility | |
Theme | Viewer UI theme. | |
Toolbar | The viewer's toolbar instance. The developer may use it to add the custom elements or remove the existing ones | |
ViewerInitialized | The callback that is invoked when a Viewer is initialized | |
Width | The width of the Viewer, by default 100% |
Name | Description | |
---|---|---|
BackToParent | Makes the viewer to display the parent report of the drill-down report | |
CurrentPage | Gets the currently displayed page number | |
Export | Exports the currently displayed report | |
GetTheme | Gets the current UI theme of the viewer | |
GetToc | Obtains the report TOC | |
GoToPage | Makes the viewer to display the specific page. Page numeration starts with 1 | |
OpenReport | Open report | |
PageCount | Gets the page count of the currently displayed report | |
Prints the currently displayed report if any | ||
Refresh | Refreshes the report preview | |
Render | Used for render viewer to element | |
Search | Performs the search of a specific term with specific search options (match case, whole word) and invokes the specific callback with the search result passed | |
SetTheme | Sets the UI theme for the viewer |