question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No provider for ScrollbarHelper!

See original GitHub issue

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

Just trying out a basic example:

<ngx-datatable
[rows]="products">
	<ngx-datatable-column name="Name">
		<ng-template let-value="name" ngx-datatable-cell-template>
			{{ value }}
		</ng-template>
	</ngx-datatable-column>
</ngx-datatable>
core.js:1350 ERROR Error: Uncaught (in promise): Error: StaticInjectorError[ScrollbarHelper]: 
  StaticInjectorError[ScrollbarHelper]: 
    NullInjectorError: No provider for ScrollbarHelper!

  • Table version: “^11.0.4”

  • Angular version: ^5.0.0

  • Browser: [all]

  • Language: [~2.4.2]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9

github_iconTop GitHub Comments

5reactions
AlexSemenetscommented, Jul 12, 2021

I have a crutch solution for this case, just add ScrollbarHelper, DimensionsHelper, ColumnChangesService in providers in component with modal from ‘@swimlane/ngx-datatable

0reactions
idsongcommented, Dec 23, 2022

@heitorgiacomini Did you solve this? I have the same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

NullInjectorError: No provider for ScrollbarHelper
When you have a component among entryComponents array make sure you remove all selectors from html for that component.
Read more >
A brand new website interface for an even better experience!
No provider for ScrollbarHelper !
Read more >
NullInjectorError: No provider for MDBModalService!
You have a typo in the main MDB module import. You're importing MDBBootstrapModulePro which contains only Pro classes. You should import MDBBootstrapModulesPro ...
Read more >
[Debugging] NullInjectorError: No provider for {Class}!
In this video, you'll learn what the error "NullInjectorError: No provider for {Class}!" means, how to debug it, and prevent it from ...
Read more >
I added new entity from Code Generator abp suite ...
ABP Framework version: v5.2.2 UI type: Angular DB provider: EF Core Tiered (MVC) or ... NullInjectorError: No provider for ScrollbarHelper!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found