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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

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

How to hide the report parameter pan.

Thread ID:

Created:

Updated:

Platform:

Replies:

141199 Nov 29,2018 11:49 AM UTC Nov 30,2018 05:56 AM UTC jQuery 1
loading
Tags: ejReportViewer
kalum
Asked On November 29, 2018 11:49 AM UTC

Hi,

Is there a way to hide the ReportViewer's report parameter pan when loading the report? My code is bellow there.


 $(function () {
        $("#container").ejReportViewer(
            {
                reportServiceUrl: '/api/ReportApi',
                processingMode: ej.ReportViewer.ProcessingMode.Local ,
                reportPath: '~/ReportDocs/ItemCostReport.rdlc',
                dataSources: [{
                    value: data,
                    name: "rpt_ds_RecipeDetails"
                }]
                , parameters: [{
                    name: "CompName",
                    labels: ['CompName'],
                    values: ["abcdefg"],
                    nullable: false
                }, {
                        name: "CompAddr",
                        labels: ['CompAddr'],
                        values: ["kandy"],
                        nullable: false
                    }]
               

            });
    });


Thank you,
Kalum

Mageshyadav M [Syncfusion]
Replied On November 30, 2018 05:56 AM UTC

Hi Kalum, 
 
We can hide the parameter block using toolbarSettings. Please find the reference snippet to hide the parameter block, 
 
$("#viewer").ejReportViewer({ toolbarSettings:{ items: ej.ReportViewer.ToolbarItems.All & ~ej.ReportViewer.ToolbarItems.Parameters } }); 
 
Please find the help link reference for the same, 
 
 
Regards, 
Mageshyadav.M 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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
Live Chat Icon