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.

Custom Script Generator

1.Can We Generate  script files only to controls I am using?? Because I feel the file is heavy for my project.
Can I see a demo script for just any one control say just report designers, viewers??
because they have almost all controls using in them.

2. In Report designer ajaxbeforeload event is not working for me in angular 1 .js
Thanks.


1 Reply

YD Yuvaraj Devarajan Syncfusion Team June 18, 2018 01:40 PM UTC

Hi Ramya, 

Query 
Response 
Can We Generate  script files only to controls I am using?? Because I feel the file is heavy for my project. 
Can I see a demo script for just any one control say just report designers, viewers?? 
because they have almost all controls using in them. 
 
Currently, we have not integrated the ej.reportdesigner.js component with custom script generator(https://csg.syncfusion.com/). You can obtain the reportdesigner component scripts and styles from below SDK build installed location, 
[Installed Drive]:\Program Files (x86)\Syncfusion\ReportsSDK\Samples\Common\Javascript\assets 

In platform sdk, the ej.web.all.min.js was generated with dependent component of which is required for reportdesigner and reportviewer. So you can refer the ej.web.all.min.js script for reportdesigner dependent and it also contain the reportviewer script. 

In Report designer ajaxbeforeload event is not working for me in angular 1 .js 
 
We have tested that event at our end and it’s working fine. We prepared the angular1 sample with ajaxbeforeload event and it can be downloaded from below location, 
Sample:  

Code Snippet[JS] 
<div ng-controller="ReportController"> 
        <div ng-if="report"> 
            <div id="container" ej-reportdesigner="ej-reportdesigner" e-serviceurl="samplevalue" e-ajaxbeforeload="ajaxBeforeLoad" style="position: absolute;height:100%;width:100%"></div> 
        </div> 
    </div> 
 
    <script type="text/javascript"> 
        angular.module('syncApp', ['ejangular']).controller('ReportController', function ($scope) { 
            $scope.report = true; 
            $scope.samplevalue = '../../api/ReportingAPI'; 
            $scope.ajaxBeforeLoad = function (senderobj) { 
                senderobj.headers.push({ 'Key': '', 'Value': '' }); 
                console.log('Ajax before triggered'); 
            } 
        }); 
    </script> 
 

Regards, 
Yuvaraj D. 


Loader.
Up arrow icon