Console errors on grid destroy when pagerTemplate is used

Hi,

When i am using pagerTemplate grid property I am always getting console errors when grid is destroying (on redirect between pages where different grids are used).

Demo: https://codesandbox.io/s/grid-with-pagertemplate-console-errors-kxn9k?file=/src/App.vue

Can it be fixed somehow on our side, or we need to wait a fix?


5 Replies

SK Sujith Kumar Rajkumar Syncfusion Team December 1, 2021 11:43 AM UTC

Hi Andrew, 
 
Greetings from Syncfusion support. 
 
We checked the reported problem in the shared sample but it was not running properly due to dependencies not getting properly installed, so we created a local Vue sample with the shared sample code snippet to validate this problem. But we were unable to reproduce it as the Grid with pager template was properly rendered. Please check the below sample for reference, 
 
 
We suspect that you might be facing problem due to older Syncfusion packages or duplicate packages installed inside your application’s ‘@syncfusion’ package in the node modules folder. This might be invoking different package version files causing the reported problem. So please follow the steps provided below to overcome this and install the latest packages, 
 
  • Delete package.lock.json file from your application.  
  • Remove the @syncfusion package folder from the node_modules.
  • Use latest version or “*”(Installs the latest packages) for all Syncfusion components in package.json file.  
  • Then install the NPM packages.
 
Once installed, clear the browser cache and try running the application and check if the problem is resolved. Also try opening it in other browsers. 
 
If problem still persists then please share us the following information to validate further on this, 
 
  • Share us the entire Grid code file used in your application.
  • Share us video demonstration of the problem in your application for better understanding.
  • Share us the package.json file of your application.
  • If possible share us a simple sample to replicate the problem or try reproducing it in the above shared sample.
 
Regards, 
Sujith R 



AM Andrew Mandruk December 1, 2021 07:07 PM UTC

I am able to reproduce the errors in the provided sample with a small change. I have used pagerTemplate not as a string but as a method that returns component

Sample with errors is attached


Attachment: GridWithPagerTemplate_aa2d5db0.zip


SK Sujith Kumar Rajkumar Syncfusion Team December 2, 2021 12:20 PM UTC

Hi Andrew, 
 
Thanks for sharing the details. 
 
We were able to reproduce the reported problem – “Console error is thrown on destroying Grid with Vue pagerTemplate” from our end and have logged defect report for the same. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and will include the defect fix in our patch release scheduled on December 22nd 2021. We appreciate your patience until then. 
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link. 
 
 
Regards, 
Sujith R 



SK Sujith Kumar Rajkumar Syncfusion Team December 23, 2021 06:40 AM UTC

Hi Andrew, 

Due to some complexities with the issue we could not include the fix as promised. We are currently working on it high priority and will include it in our upcoming weekly patch scheduled on 29th December 2021. 

We apologize for the inconvenience caused and appreciate your patience until then. 

Regards, 
Sujith R 



SK Sujith Kumar Rajkumar Syncfusion Team December 29, 2021 11:27 AM UTC

Hi Andrew, 

We are glad to announce that our Essential Javascript2 patch release (v19.4.40) has been rolled out successfully and in that release we have added the fix for the issue - Console error is thrown on destroying Grid with Vue pagerTemplate”. So please update your packages to this version to include this fix. 

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 

 
Regards, 
Sujith R 


Loader.
Up arrow icon