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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Help for Spreadsheet

Thread ID:

Created:

Updated:

Platform:

Replies:

129927 Apr 10,2017 04:17 PM UTC Apr 12,2017 12:07 PM UTC AngularJS 3
loading
Tags: ejSpreadSheet
Juan
Asked On April 10, 2017 04:17 PM UTC

Hello. 

I want to use the Spreadsheet in AngularJS, but I do not see anything on the screen.

I am trying to see the following example:

Can you send me an other example code for AngularJS?

I send them the test code I am using.

Thanks.


Attachment: Prueba_840981b0.zip

Silambarasan I [Syncfusion]
Replied On April 11, 2017 01:09 PM UTC

Hi Juan, 
 
Thank you for using Syncfusion products. 
 
We have checked with the attached sample and we found that the cause of this issue is due to the ‘ej.widget.angular.min.js’ script is not referred in index.html and ‘ejangular’ module is not injected as a dependency in app.js.  Please refer the below modified code example. 
 
Index.html 
 
<!DOCTYPE html> 
<html lang="es" ng-app="app"> 
<head> 
    //...    
       <script src="http://cdn.syncfusion.com/15.1.0.41/js/web/ej.web.all.min.js"></script> 
       <!--Add custom scripts here --> 
  
       <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script> 
       <script src="http://cdn.syncfusion.com/15.1.0.41/js/common/ej.widget.angular.min.js"></script> 
    <!-- Angular App--> 
    <script src="app.js"></script> 
 
</head> 
 
<body ng-controller="AppCtrl"  > 
        
    //... 
        <div id="Spreadsheet" ej-spreadsheet e-scrollsettings-height="600" e-sheets = "sheetData" e-loadComplete="loadComplete" > 
        </div> 
    //... 
</body> 
</html> 
 
 
 
App.js 
 
angular.module('app', ['ejangular'])  
  
.controller('AppCtrl', function ($scope ) { 
     
       //... 
}); 
 
//... 
 
 
 
For your convenience, we have modified the given sample and the same can be downloaded from following location, 
 
Also, please refer the Spreadsheet local data binding sample from the below link, 
 
Online Help DOC Link: 
 
Regards, 
Silambarasan 


Juan
Replied On April 11, 2017 01:26 PM UTC

Thank you very much!!!!

It works perfectly!

Thanks also for the help links that I had not found.

Greetings.

Silambarasan I [Syncfusion]
Replied On April 12, 2017 12:07 PM UTC

Hi Juan, 
 
Thanks for your update.  We are happy to hear that your issue has been resolved. 
Kindly get back to us if you need any further assistance. 
 
Regards, 
Silambarasan 


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.

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

;