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
close icon

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 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 

HJ Hariharan J V Syncfusion Team 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”. 

Live Chat Icon For mobile
Up arrow icon