Latest update 18.2.0.44 - document.getElementById("Grid").ej2_instances[0] no longer return correct instance

Hi there,

After upgrading to latest 18.2.0.44, all my client-side calls to refresh the grid content failed.

This JS script worked before 18.2.0.44 update:

 document.getElementById("winners_grid").ej2_instances[0].refresh()

With 18.2.0.44, the .refresh() method is not defined. Has the DOM been changed?

Thank you

1 Reply

RN Rahul Narayanasamy Syncfusion Team July 10, 2020 10:11 AM UTC

Hi Tom, 

Greetings from Syncfusion. 

Query: With 18.2.0.44, the .refresh() method is not defined. Has the DOM been changed? 

In v18.2.0.44 we have moved various features from JavaScript to C# side, hence this property has been removed. Also, could you please share the details on your requirement on using JavaScript method, we will try to achieve the same behavior or alternative approach in our latest Volume 2 2020 release. 

Please get back us if you have any other concerns. 

Regards, 
Rahul 


Loader.
Up arrow icon