Results 1 to 3 of 3

Thread: method get undefined

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    33

    Default method get undefined

    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 !!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    I would add a listener on the component level to an anchor tag.

    Code:
    comp.on({
        scope : comp,
        delegate : 'a',
        click : function(e) {}
    });
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    33

    Default Hi,

    I will try it once I open my project, Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •