ngx-datatable: Can't resolve all parameters for ScrollbarHelper errror in ngx-datatable with Angular v8.0.0-rc.0 and above
I’m submitting a … (check one with “x”)
[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior Cannot launch ngx-datatable v14.0.0 with Angular v8.0.0-rc4. Get the following error:
ERROR Error: Uncaught (in promise): Error: Can’t resolve all parameters for ScrollbarHelper: (?). Error: Can’t resolve all parameters for ScrollbarHelper: (?).
Expected behavior ngx-datatable should render without the error
Reproduction of the problem https://stackblitz.com/edit/angular8-ngx-datatable
What is the motivation / use case for changing the behavior? ScrollbarHelper class imports DOCUMENT from @angular/platform-browser. This deprecated import has been removed from Angular in v8.0.0-rc.0. DOCUMENT should rather be imported from @angular/core. https://github.com/angular/angular/issues/28117
Please tell us about your environment: Windows 10, VSC, npm
-
Table version: 14.0.0
-
Angular version: ~8.0.0-rc4 (reproducible since ~8.0.0-rc.0)
-
Browser: All
-
Language: All
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 9
- Comments: 20 (1 by maintainers)
There is a pull request on angular 8: https://github.com/swimlane/ngx-datatable/pull/1690
npm rm @swimlane/ngx-datatablenpm install git+https://github.com/zackarychapple/ngx-datatable.gitIt seems to work fine for now with ng serve
Released 15.0.0. Please verify.
is there an estimated date when the pull request might be merged?
When the pull request would be merged?
umable to access this URL : https://github.com/zackarychapple/ngx-datatable.git
Same issue. Angular 11.0 and ngx-datatable 19.0.0.
The table works in a normal component but not in a mat dialog.
Same issue with modals
Sorry for removing that repo, did not know folks were relying on it. Thank you @daniloff200 for clarifying that the fix has been merged.
@sridharsivichandran you can use latest version of ngx-datable, like 16.0.2 if you face some issue with icons path, check the https://github.com/swimlane/ngx-datatable/issues/1741