If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

Add Custom Item to Report Designer

Is there anyway to do something similar to the custom toolbar items in the report viewer?

https://help.boldreports.com/report-viewer-sdk/angular-reporting/report-viewer/toolbar-customization/


I just want a Save and a Save As option, not anything to Device or Server. But I cannot find any documentation for this outside of ASP.NET which I do not want to do.


4 Replies

AM Arumugasami Murugesan Syncfusion Team November 17, 2021 03:23 PM UTC

Hi August,    
  
Thanks for the update, 
 
We will check and update the further details by November 18, 2021 
         
Regards,         
Arumugasami M         



AM Arumugasami Murugesan Syncfusion Team November 18, 2021 03:12 PM UTC

Hi August,     

Please find the below steps to add the Add Custom Item to Report Designer

 
Step1: We have disable the report open and New buttons in toolbar using toolbar settings.
https://help.boldreports.com/javascript/report-designer/api-reference/properties/toolbarSettings/ 
  
 
Please refer the below Documents for your reference 
 
 
Step2: You need to add the customize icon by referring the code snippet 
  $("#designer").boldReportDesigner({ 
                        serviceUrl: https://demos.boldreports.com/services/api/ReportingAPI, 
                        toolbarSettings: { 
                            items: ej.ReportDesigner.ToolbarItems.All & ~ej.ReportDesigner.ToolbarItems.Save 
                                & ~ej.ReportDesigner.ToolbarItems.Open & ~ej.ReportDesigner.ToolbarItems.New 
                        }, 
                        toolbarRendering: toolbarRendering, 
                        toolbarClick: toolbarClick 
                         
 
      }); 
Step2: To customize the save button for save report directly using toolbar rendering and toolbar-click event.  


 

    function toolbarRendering(args) {
  
        if ($(args.target).hasClass('e-rptdesigner-toolbarcontainer')) {  
            var saveButton = ej.buildTag('li.e-rptdesigner-toolbarli e-designer-toolbar-align e-tooltxt', '', {}, {});  
            var saveIcon = ej.buildTag('span.e-rptdesigner-toolbar-icon e-toolbarfonticonbasic e-rptdesigner-toolbar-save e-li-item', '', {}, { title: 'Save' });  
            args.target.find('ul:first').append(saveButton.append(saveIcon));  
        }  
    }  
  
    function toolbarClick(args) {  
        if (args.click === 'Save') {  
            var designer = $('#designer').data('boldReportDesigner');  
            args.cancel = true;  
            designer.saveReport();  
        }  
    }  
 
 
          
We have prepared sample application in report designer and Please find the sample from below link 
 
 
Regards,          
Arumugasami M    
 



AE August Eggers replied to Arumugasami Murugesan November 18, 2021 03:49 PM UTC

That is exactly what I needed Arumugasami, thank you!



AM Arumugasami Murugesan Syncfusion Team November 19, 2021 05:49 AM UTC

Hi August,     
  
Thanks for the update,  
 
We will wait for your further update.          
 
Regards,          
Arumugasami M     


Loader.
Up arrow icon