Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

How to hide the report parameter pan.

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

1 Reply

MM Mageshyadav M Syncfusion Team 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 


Loader.
Up arrow icon