Unanswered: Noobie Question: How can i access methods of the parent Class
i got a small Problem. I got a Gridview Panel, where i can manage my support tickets.
So i got a "Close Ticket" Button where a handler is bound (handler: this.onCloseTicket) but in that handler a have to call my refreshTickets method from my class, when the ajax request is successful (-> in the success event of the Ext.Ajax.request) but it does not work when i call this.refreshTickets();
How can i call that method from there?
I'm sure someone can help me.. Im rather new to Ext.Js.
Have you set the scope in your button to see this correctly?
If you use call console.log(this) right before you call refreshTickets, and look in the console ..
what is 'this' evaluating to?
Ah thanks Scott!
Thats scope thingy solved some more riddles