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

Instantiating a Pager with the second constructor parameter causes an error

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

2 Replies

MS Madhu Sudhanan P Syncfusion Team February 15, 2019 01:20 AM

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] 

Regards, 
Madhu Sudhanan P 



HJ Hariharan J V Syncfusion Team April 24, 2019 05:15 AM

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”. 
  
Regards, 
Hariharan 


Loader.
Live Chat Icon For mobile
Up arrow icon