| Page 1 of 1 | [ 3 posts ] |
|
Hi Folks,
I am using YUI2 datatable. I have developed many pages which uses YUI2 datatable extensively. These datatables are going to have a large number of data. I wanted to destroy the datatables when they are not in use anymore because I think these objects must be utilizing lots of memory. I was looking for an efficient way to destroy the datatable references from browser memory. I have not found any efficient solution for this on foums. Is Datatable.destroy() method is sufficient to handle the destruction of whole datatable from brower ? |
|
Yes, destroy() is the way. However, check in the bug tracker, there was a bug introduced in 2.9 which produces some memory leak. That didn't happen in 2.8. Anyway, yes, destroy is the way to do it.
|
|
Ok..
Thanks you very much.. Could yoyu please suggest what should be the ideal place to call the destroy method ? |
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group