Errors in ej2.min.js following update for a fix to a different ej2 Grid problem

Hi there,

We recently posted regarding a problem with the header column of an ej2 Grid not being loaded correctly:

Check the Grid Checkbox Column Header (322601) | Incident | Syncfusion

You kindly fixed this and sent us a link to download patch. I have applied the patch and am calling grid,refresh(); after setting the grid.dataSource and this fixes the problem on the grid that had the checboxes.

The grid was originally loading like this:eSettings.JPG


And now displays correctly as this with the header in the correct mode:

eSettings_ShouldDisplay.JPG


The side effect of applying this fix as broken a grid on another page though.

The grid comprises a list of searched for contacts if you add an item to the list and then subsequently try to edit it though you get this error message a couple of times on update:

GridInEditMode.JPG

ErrorMessage1.JPG


Sometimes if it is the only item in the list then the error message goes recursive and you get:

ErrorMessage2.JPG


Or occasionally:

ErrorMessage3.JPG


If I revert to the original version of ej2.min.js then  you do not get any error messages regarding this.


The error seems to occur as it exits the javascript of the grid actionComplete function

the args.requestType at this point is “save”


Many thanks James



1 Reply

PG Praveenkumar Gajendiran Syncfusion Team July 30, 2021 01:42 PM UTC

Hi James, 
Thanks for contacting Syncfusion support. 
We checked your provided information, based on that we have prepared a sample and checked your reported issue, but we are not able to reproduce your reported script error at our end.
So we need the below information to understand your problem better at our end, please share the below details to validate further at our end.
 
  
  1. Complete grid rendering code.
  2. Syncfusion package version used.
  3. Let us know the replication procedure for reproducing the problem with Video demonstration to understand it better.
  4. In your update, you have mentioned that “The grid comprises a list of searched for contacts”, please let us know what you mean by “comprises”?
  5. If possible share us a simple sample to replicate the problem or try reproducing it in the above provided sample. It would be helpful to identify your problem case better so that we can check and provide the solution based on that
  6. Please elaborate on your reported issue.
  
Please get back to us with the requested details which will be helpful for us to understand your requirement at our end and provide the solution as early as possible 
  
Regards 
Praveenkumar G 


Loader.
Up arrow icon