Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    55
    Vote Rating
    1
    abhilashca is on a distinguished road

      0  

    Question ExtJs Button - onBlur event

    ExtJs Button - onBlur event


    Hello,

    I want to run a code-block when the Button loses focus. Is there any onBlur event defined for ExtJs Button. I have checked the documentation, but didn't find any onBlur event.

    Does that really exists or is there any workaround to implement the same?

    Thanks.

  2. #2
    Sencha User
    Join Date
    Dec 2010
    Posts
    126
    Vote Rating
    0
    varunach is on a distinguished road

      0  

    Default


    check mouseout

  3. #3
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    9
    fay will become famous soon enough fay will become famous soon enough

      0  

    Default


    You need to be looking at the events of the underlying btnEl. For example, in \examples\form\dynamic.js, give the 'Save' button an id ('save-simple') and the following will work for you:

    Code:
     
    Ext.getCmp('save-simple').btnEl.on('blur', function()
    {
     // whatever you need to do  
    });

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    55
    Vote Rating
    1
    abhilashca is on a distinguished road

      0  

    Default


    Quote Originally Posted by varunach View Post
    check mouseout
    This method wont work. Because, the mouseout event will fire, whenever we move the mouse out of the Button, irrespective of whether we've selected the button or not. In fact, Blur is a kind of event which fires, whenever the element (Button) loses its focus. That means, the focus have been shifted to any other element.

    Thanks

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    55
    Vote Rating
    1
    abhilashca is on a distinguished road

      0  

    Default


    Hello fay,
    That's a nice trick.
    It worked

Similar Threads

  1. Html Editor onBlur event
    By mjaomaha in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 28 Oct 2009, 8:12 AM
  2. onBlur Event?
    By lazyMan in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 8 Oct 2008, 10:38 AM
  3. Issue with onblur event
    By Muruga in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 Apr 2008, 10:30 PM
  4. Cancel onBlur Event
    By lvanderree in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 11 Jan 2008, 11:26 AM

Thread Participants: 2

Tags for this Thread