Nov 14, 2013, 1:25 PM
Ext.getCmp raise java script error: Object does not support this property or method
I have old code work in ext.net version 1.0, use Ext.getCmp to get component. when I upgrade version 2.3, it raise java script error: Object does not support this property or method. Can you tell me what's the code I need to use to replace this code for version 2.3.
Here are code in version 1.0
Here are code in version 1.0
function HiddenTabs() {
var moreinfo = Ext.getCmp('ViewPort1').findById('EastPanel');
if (moreinfo.isVisible()) {
moreinfo.collapse();
}
}