PDA

View Full Version : method get undefined



wiwi
21 May 2012, 8:10 AM
Hello,

I'm trying to display panel details, by its id, (Ext.getCmp('+dynamicID+');) in an html link, but still having this error, Uncaught TypeError: Cannot call method 'get' of undefined , the records are displayed in the first panel, but not in the detail one !! if you've already had this kind of error pleaaaaaaaaaaaase help :"> !!

mitchellsimoens
25 May 2012, 11:32 AM
I would add a listener on the component level to an anchor tag.


comp.on({
scope : comp,
delegate : 'a',
click : function(e) {}
});

wiwi
25 May 2012, 12:25 PM
I will try it once I open my project, Thank you very much :)