-
Sencha User
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.
-
Best Answer Posted by
edipper
Hello, I figured it out...
I hooked up the "afterrender" event in my "initCompoment" event...
this.on( 'afterrender', this.onAfterRender, this );
-
Sencha User
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
-
Forum Rules