Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Igx-grid Infinite scroll in Angular 9

Igx-grid Infinite scroll in Angular 9

New Discussion
Shan Wang
Shan Wang asked on Jan 14, 2021 10:20 AM

Hi, I am trying to implement the infinite scroll of igx-grid in our application (Angular 9).

I downloaded sample code from https://stackblitz.com/github/IgniteUI/igniteui-live-editing-samples/tree/master/angular-demos/grid/grid-sample-5 and it works fine (Angular 11)

But I am getting errors at RUN time in my application complaining No Provider for ChangeDetectorRef. This happens at dependency injection of the constructor of component.

Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[RemotePagingService -> ChangeDetectorRef -> ChangeDetectorRef -> ChangeDetectorRef]:
NullInjectorError: No provider for ChangeDetectorRef!
NullInjectorError: R3InjectorError(AppModule)[RemotePagingService -> ChangeDetectorRef -> ChangeDetectorRef -> ChangeDetectorRef]:
NullInjectorError: No provider for ChangeDetectorRef!

Is there any way to make it working for Angular 9?

Any input is appreciated.

Sign In to post a reply

Replies

  • 0
    Teodosia Hristodorova
    Teodosia Hristodorova answered on Jan 14, 2021 10:20 AM

    Hello,

    I have been looking into your question and prepared a small sample like the one you mentioned using igniteui-angular version 9.0.1. On my side, everything works as expected and there are no errors. My suggestion is to check whether all imports are correct.

    Here could be found my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce

    Additionally, please keep in mind that according to our policy, support for IgniteUI Angular products is applicable to two versions back – the latest stable and the previous major version which means that version 9 is considered retired and it is no longer eligible for Developer Support Services.

    Having this in mind, I believe that the best suggestion is to upgrade to the newest version.

    Let me know if I may be of any further assistance.

    Sincerely,

    Teodosia Hristodorova

    Associate Software Developer

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Shan Wang
Favorites
0
Replies
1
Created On
Jan 14, 2021
Last Post
5 years, 1 month ago

Suggested Discussions

Tags

No tags

Created by

Created on

Jan 14, 2021 10:20 AM

Last activity on

Jan 14, 2021 10:20 AM