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

Cannot read property 'classList' of undefined

When you insert the first record in a grid with pagination or delete the last one, it does not refresh the interface. Attached screen with error "Can not read property 'classList' of undefined" and package.json with components version.

Is it a mistake of the grid?

Thank You

Attachment: Sincfusion_584dd691.7z

1 Reply

PS Pavithra Subramaniyam Syncfusion Team May 8, 2019 06:20 AM UTC

 
Thanks for contacting Syncfusion support.  
  
We have checked your packge.json file and found you are using different versions of Syncfusion components which may cause duplicate package in @Syncfusion  folder of node modules. So we suggest you to update the Syncfusion package properly by using the below  steps.  
  
  1. Please ensure that all Syncfusion components have same version (We can see that you are using ej2-angular-grids and ej2-ng-dropdowns)
  2. Please ensure whether the “node_modules/@syncfusion” folder has no any duplicate packages (ex: “node_modules/@syncfusion/ej2-navigations/node_modules/@syncfusion/ej2-base”).
  3. If yes, please remove the “@syncfusion” folder and package.lock.json files and reinstall the package again.
  4. If you are still facing the issue please share the stack trace of the script error.
  5. Please share the Grid code example
 
These information will be helpful for us to provide a better solution as early as possible. 
 
Regards, 
Pavithra S. 


Loader.
Live Chat Icon For mobile
Up arrow icon