Oct 07, 2014, 11:31 AM
[CLOSED] Ext.Net Control Deletion/Destroy issue
Hi, Can you please help me to delete/destroy a panel/container and all its items.
I try it as, i remove all the child items of a panel by using App.PanelId.removeAll() then it clears all the child elements of panel and its items length become zero
but still i can find those child elements with their own IDs. So use destroy () method to remove it individually and then App.PanelId.destroy() to remove the main panel.
As if I use object.destroy() method, sometimes it destroy it but again when i try to create it it just started loading and never stops and sometimes it gives error like:
"Unable to get property 'setDisplayed' of undefined or null reference".
Please help!
Thanks
I try it as, i remove all the child items of a panel by using App.PanelId.removeAll() then it clears all the child elements of panel and its items length become zero
but still i can find those child elements with their own IDs. So use destroy () method to remove it individually and then App.PanelId.destroy() to remove the main panel.
As if I use object.destroy() method, sometimes it destroy it but again when i try to create it it just started loading and never stops and sometimes it gives error like:
"Unable to get property 'setDisplayed' of undefined or null reference".
Please help!
Thanks
Last edited by Daniil; Oct 14, 2014 at 12:54 PM.
Reason: [CLOSED]