1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
    gissly is on a distinguished road

      0  

    Default Unanswered: Noobie Question: How can i access methods of the parent Class

    Unanswered: Noobie Question: How can i access methods of the parent Class


    Hey there,

    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.

    Best regards,

    Chris

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,917
    Answers
    655
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      1  

    Default


    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?

    Scott.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    2
    Vote Rating
    0
    gissly is on a distinguished road

      0  

    Default


    Ah thanks Scott!

    Thats scope thingy solved some more riddles

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi