jspreadsheet / ce

Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.
https://bossanova.uk/jspreadsheet/v4
MIT License
6.75k stars 826 forks source link

Problem integrating with Angular 6 #195

Closed iharishsuthar closed 6 years ago

iharishsuthar commented 6 years ago

Hello i am trying to use it with Angular 6 App, and want to use it in component.ts file, but it gives error like below:

InstituteJournalBulkComponent.html:13 ERROR TypeError: jquery__WEBPACK_IMPORTED_MODULE_5__(...).jexcel is not a function at InstituteJournalBulkComponent.onSave (institute-journal-bulk.component.ts:90) at Object.eval [as handleEvent] (InstituteJournalBulkComponent.html:13) at handleEvent (core.js:12077) at callWithDebugContext (core.js:13550) at Object.debugHandleEvent [as handleEvent] (core.js:13190) at dispatchEvent (core.js:8740) at core.js:9354 at HTMLButtonElement. (platform-browser.js:1796) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:4362)

Also its .d.ts file is not available on NPM repository.

pphod commented 6 years ago

Sorry, but I can't help you with that.

ibilalbashir commented 5 years ago

hi @paulhodel . great to see your work i am having the same issue but then i added the import now i am having thus error in console. "Unexpected value 'undefined' imported by the module 'AppModule'" can you please help me with this. these are the screen shots of code and error image image