After successfully running the syncfusion/angular2-seeds project and displaying the grid, I experimented with a structure for an application I am working on transferring to Angular using the ejGrid as a component.
My goal was to do this using the Angular CLI (V1.2.7) to generate the project and components. I followed the advice at https://help.syncfusion.com/angular/gettingstarted/getting-started-angular-cli in setting up the project and making sure I had things structured to work with the CLI.
However, after working through other issues, I'm left with the persistent error below, and no data rows displayed in the grid. Column headings and the paging control footer displays, but no data. My latest attempt, which was to move the working grid component with its embedded data into my project, and I still get the same error. The error is related to the "dataSource" property on the grid as when I remove that from the html template, I get no error (but of course no data or grid structure).
I've put a repository with this project at https://github.com/michaelpear/angular-apps-test. Any advice on what is wrong would be appreciated.
GridComponent.html:2 ERROR TypeError: Cannot read property 'helpers' of undefined
at Object.addInitTemplate (http://localhost:4200/vendor.bundle.js:38763:477330)
at Object._initGridRender (http://localhost:4200/vendor.bundle.js:38763:471135)
at Object._checkDataBinding (http://localhost:4200/vendor.bundle.js:38763:435084)
at Object._init (http://localhost:4200/vendor.bundle.js:38763:430007)
at Object.<anonymous> (http://localhost:4200/vendor.bundle.js:38083:21234)
at jQuery.fn.init.n.fn.(anonymous function) [as ejGrid] (http://localhost:4200/vendor.bundle.js:38083:22491)
at GridComponent.webpackJsonp.../../../../ej-angular2/src/ej/core.js.EJComponents.ngAfterViewInit (http://localhost:4200/vendor.bundle.js:3585:64)
at callProviderLifecycles (http://localhost:4200/vendor.bundle.js:84791:18)
at callElementProvidersLifecycles (http://localhost:4200/vendor.bundle.js:84766:13)
at callLifecycleHooksChildrenFirst (http://localhost:4200/vendor.bundle.js:84750:17)