We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Instantiating a Pager with the second constructor parameter causes an error

Thread ID:





142676 Feb 14,2019 11:35 PM UTC Apr 24,2019 09:15 AM UTC JavaScript - EJ 2 2
Tags: Grid
Asked On February 14, 2019 11:35 PM UTC

If you attempt to supply the 'element' parameter to the Pager constructor - the component throws an error... 

This is due to the fact that the control is attempting to render *before* the _defaultConstants (L10n) variable has been set in the class

Madhu Sudhanan P [Syncfusion]
Replied On February 15, 2019 06:20 AM UTC

Hi Grant, 

Thanks for contacting Syncfusion support. 

We have confirmed “Script error thrown when passing selector as second argument for Pager constructor” as bug and logged defect report for the same. This fix will be available in the any of the upcoming releases. For now please use the appendTo method to initiate the Pager control. 

You can track the status of the bug using the below feedback link. 

[Note: Above report is under review. It will visible to you once reviewed] 

Madhu Sudhanan P 

Hariharan J V [Syncfusion]
Replied On April 24, 2019 09:15 AM UTC

Hi Grant, 
Thanks for your patience. 
We are glad to announce that our Essential JavaScript 2 patch release (17.1.42) has been rolled out successfully and in that release, we have added the fix for an issue “Script error thrown when passing selector as second argument for Pager constructor”. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon