We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

Syncfusion Feedback

How to render the ReportViewer Control on Mobile/Desktop layout?

Platform: jQuery |
Control: ejReportViewer

This article explains how to render the ReportViewer control on Mobile/Desktop layout.

You can refer to the Getting Started of JavaScript ReportViewer from the following User Guide link.



Rendering the ReportViewer on Mobile/Desktop layout

The JavaScript ReportViewer control provides inherent support to render mobile/desktop layout. Initially ReportViewer control renders Mobile/Desktop layout based on the device and you can modify this layout option by using the renderMode property.


The ReportViewer has the following RenderMode enum options:


Combination of mobile and desktop Layout based on the Device


Desktop layout


Mobile Layout


The following code example explains how to render the ReportViewer control on Mobile layout.


<script type="text/javascript">
        $(function () {
                    reportServiceUrl: "/api/ReportApi",
                    renderMode: ej.ReportViewer.RenderMode.Mobile,
                    processingMode: ej.ReportViewer.ProcessingMode.Remote,
                    reportPath: "~/App_Data/InvoiceTemplateXML.rdl"


Run the sample application and you can see the ReportViewer on the page as displayed in the following screenshot.

Sample is Generate in ReportViewer

Figure 1: ReportViewer

Demo Sample

You can download the Demo Sample from the following link.


Further References 

You can find the documentation and online demo samples for JavaScript ReportViewer control from the following link.


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile