You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a SPA and eventually the browser went out of memory in a section when jsGrid tables were created and removed constantly according to an Ajax call.
I'm not an JQuery expert, I found out that removing the target div of the jsGrid table does not remove any window event listener. Maybe this is expected behaviour that cannot be handled.
Then, I called jsGrid('destroy') before removing the div and it removed all the resize listeners (even the listeners of all the others jsGrid tables already created), but none of the load ones.
I'm creating a SPA and eventually the browser went out of memory in a section when jsGrid tables were created and removed constantly according to an Ajax call.
I'm not an JQuery expert, I found out that removing the target div of the jsGrid table does not remove any window event listener. Maybe this is expected behaviour that cannot be handled.
Then, I called jsGrid('destroy') before removing the div and it removed all the resize listeners (even the listeners of all the others jsGrid tables already created), but none of the load ones.
Here is a jsfiddle: http://jsfiddle.net/johnkeisuke/1sx3dcdj/
It was tricky to find the issue I hope it helps more people in the same situation :)
The text was updated successfully, but these errors were encountered: