Results 1 to 3 of 3

Thread: Direct method callback scope

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ext User
    Join Date
    Mar 2010
    Vote Rating

    Thumbs up Direct method callback scope

    I searched in the documentation and didn't see any reference... but in the code I found that can be done this way

    the common way is:

    but can also be done this way:

    Action.Method({params},{fn: callbackFn, scope:this});
    if it's of use to anyone

    Israel Figueroa
    Last edited by kodomo; 30 Sep 2010 at 7:45 PM. Reason: fix

Similar Threads

  1. Replies: 4
    Last Post: 28 Oct 2010, 1:56 PM
  2. Direct Method not firing callback.
    By colin.jones in forum Ext.Direct
    Replies: 1
    Last Post: 2 Oct 2009, 3:08 AM
  3. [2.2.1/2.3.0] HttpProxy loosing callback scope
    By smudgeface in forum Ext 2.x: Bugs
    Replies: 3
    Last Post: 13 Aug 2009, 4:09 AM
  4. callback function and scope
    By dddu88 in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 18 Nov 2007, 11:11 AM
  5. How to keep scope in selectPath callback?
    By mherger in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 8 Aug 2007, 11:33 PM

Posting Permissions

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