No provider for PagerContextService!

1 Answer 31 Views
CheckBox General Discussions Grid
Harmeet
Top achievements
Rank 1
Harmeet asked on 18 Mar 2025, 05:40 PM

After upgrading to angular 19 and kendo angular grid to version 17. it's throwing this error.

can't find this service in kendoAngular 17 version "PagerContextService!" Checkbox is also not showing in grid.

No provider for PagerContextService!

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 21 Mar 2025, 11:56 AM

Hi Harmeet,

In general, as of the v17.0.0 release of the Kendo UI for Angular packages, the internal pager element of the Grid has been replaced with the Kendo UI for Angular Pager component:

For more detailed information on the matter, I would suggest checking out the following articles:

To obtain information about all new features, bug fixes, and breaking changes introduced in the v17.0.0 release (and other Kendo UI for Angular releases as well), please check out our dedicated Changelog page:

In this line of thought, with the integration of the Pager component in the Grid, the `@progress/kendo-angular-pager` package became a peer dependency of the Grid package (the same is also applicable to the TreeList). This means that the Pager package is required to be installed in an application where the Grid (and TreeList) package is used:

With the above being said, please ensure that the Pager package is installed in your application to see if this will help in resolving the experienced error since it is expected for some of the imports to now come from the Pager package:

Lastly, in case none of the provided information helps you resolve the experienced error, please share more details regarding the exact Grid configuration on your side and whether the PagerContextService is somehow manually imported in your application (it is important to mention that the PagerContextService is not exposed in the public API of the Pager and Grid packages, thus it is generally not intended for public use).

Ideally, providing a runnable isolated example that reproduces the described error will be very helpful in understanding the specific use-case scenario and further troubleshooting the issue on my side. 

Please try out the above suggestion and let me know how it goes.

Regards,
Zornitsa
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
CheckBox General Discussions Grid
Asked by
Harmeet
Top achievements
Rank 1
Answers by
Zornitsa
Telerik team
Share this question
or