jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Destroy not working properly
Tagged: grid destroy
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 11 years, 3 months ago.
-
Author
-
Hi Team,
We have got a single paged application and we are destroying the grid using grid.destroy.However, we are facing a weird issue here that while loading the application in chrome and its taking 300Mb .WHile opening the grid with debugger tools(F12),it takes almost half the memory(155Mb).
Any thoughts on this?Regards,
ShilpaHi Shilpa,
“destroy” works as expected in the current version. The Garbage Collector of the Browser however may collect its memory when it finds it should.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
We are using multiple grid on a single page.When we change page,we are calling destroy separately for each grid.However,it workd fine only for first grid.Later on ,it starts giving exception
1.
TypeError: Cannot call method ‘remove’ of undefined at b.extend.destroy
/lib/jqwidgets/jqxgrid.js:7:167369) at Object.a.jqx.invoke
/lib/jqwidgets/jqxcore.js:7:763) at Object.a.jqx.jqxWidgetProxy
/lib/jqwidgets/jqxcore.js:7:4374)
2.
TypeError: Cannot read property ‘length’ of undefined at Function.e.extend.each
/lib/jquery.min.js:2:11567) at a.extend._destroyeditors
/lib/jqwidgets/jqxgrid.edit.js:7:18887) at b.extend.destroy
/lib/jqwidgets/jqxgrid.js:7:164475)Regards,
ShilpaHi Shilpa,
Do you use jQWidgets 3.2.1?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comWe are using licensed version of jQWidgets v3.1.0 .
Regards,
ShilpaHi Shilpa,
I supposed that. Please, try the current version and if you still experience the same behavior, then write back.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
We used the current version and still getting these errors.
1.
TypeError: Cannot call method ‘remove’ of undefined at b.extend.destroy
/lib/jqwidgets/jqxgrid.js:7:167369) at Object.a.jqx.invoke
/lib/jqwidgets/jqxcore.js:7:763) at Object.a.jqx.jqxWidgetProxy
/lib/jqwidgets/jqxcore.js:7:4374)
2.
TypeError: Cannot read property ‘length’ of undefined at Function.e.extend.each
/lib/jquery.min.js:2:11567) at a.extend._destroyeditors
/lib/jqwidgets/jqxgrid.edit.js:7:18887) at b.extend.destroy
/lib/jqwidgets/jqxgrid.js:7:164475)PLease provide a solution for this .
Regards,
ShilpaHi Shilpa,
Please, provide a sample which demonstrates the experienced behavior. Also, if you use the current version, make sure that you have cleared your Browser’s History before testing.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.