ExtJS 3.4 doLayout on panel with hbox
I have a panel and inside the panel i have components arranged in hbox layout. Say
Now when i remove hbox2 dynamically and perform panel.doLayout(), the below error is displayed in firebug,
"Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLFormElement.insertBefore]"
The corresponding hbox gets removed from panel items. But the panel cannot be recalculated using doLayout. Any ideas?
Tags for this Thread