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="https://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="https://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