Results 1 to 2 of 2

Thread: TextField getEl() returns undefined

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    13
    Answers
    1

    Default Answered: TextField getEl() returns undefined

    Hello,
    I am extending a textfield and overriding the "setValue" function. In the "setValue" function, when i call "getEl()" it returns "undefined". Is there an event that fires when the control is completely loaded and if so how do i use it in the context of my control? Thanks.

  2. Hello, I figured it out...
    I hooked up the "afterrender" event in my "initCompoment" event...

    this.on( 'afterrender', this.onAfterRender, this );

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Posts
    13
    Answers
    1

    Default

    Hello, I figured it out...
    I hooked up the "afterrender" event in my "initCompoment" event...

    this.on( 'afterrender', this.onAfterRender, this );

Tags for this Thread

Posting Permissions

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