WjReportViewer Class

File
wijmo.angular.js
Module
wijmo.angular
Show
   

AngularJS directive for the ReportViewer control.

Use the wj-report-viewer directive to add report viewer to your AngularJS applications. Note that directive and parameter names must be formatted in lower-case with dashes instead of camel-case. For example:

<wj-report-viewer paginated="true"
  service-url="ctx.serviceUrl"
  file-path="ctx.path"
  report-name="ctx.reportName">
</wj-report-viewer;

The wj-report-viewer directive supports the following attributes:

service-url
@A value indicating the address of C1 Web API service.
file-path
@ A value indicating full path to the document on the server.
report-name
@ For FlexReport, sets it with the report name defined in the FlexReport definition file. For SSRS report, please leave it as empty string.
control
= A reference to the ReportViewer control created by this directive.
full-screen
@ A value indicating whether viewer is under full screen mode.
zoom-factor
@ A value indicating the current zoom factor to show the document pages
select-mouse-mode
@ A value indicating whether clicking and dragging with the mouse in the view panel selects text.
initialized
& This event occurs after the binding has finished initializing the control with attribute values.
is-initialized
= A value indicating whether the binding has finished initializing the control with attribute values.
view-mode
@ A value indicating how to show the document pages.
paginated
@ A value indicating whether the content should be represented as set of fixed sized pages.
page-index-changed
& The pageIndexChanged event handler.
view-mode-changed
& The viewModeChanged event handler.
select-mouse-mode-changed
& The selectMouseModeChanged event handler.
full-screen-changed
& The fullScreenChanged event handler.
zoom-factor-changed
& The zoomFactorChanged event handler.
query-loading-data
& The queryLoadingData event handler.