Results 1 to 2 of 2

Thread: Global Event Listener

  1. #1

    Question Global Event Listener

    Hi All,

    Is there a way to have global event listener at the parent component (ex: viewport)? Below is the use case

    When an error occurs during user action in page, 'Error Message Panel' displayed at the top of the page. The error message panel should disappear when user performs any action (click, keyup,..) in any of the components under different Ext.Panel.

    Like to have global listener for all events at the parent component (let say viewport)

    Please advise on this.

    Thank You!
    Sekaran

  2. #2

    Default

    Found solution by having 'Ext.getBody().on('click', function() { alert('clicked')}); '

Similar Threads

  1. Replies: 5
    Last Post: 4 Dec 2009, 11:02 AM
  2. Global HttpProxy event?
    By technics in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 3 Dec 2009, 3:00 PM
  3. [Solved] Global listener/function to reset
    By buntyindia in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 12 May 2009, 4:01 AM
  4. Event Listener Question?
    By businessman332211 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 4 Jul 2008, 9:00 AM
  5. [SOLVED] how to fetch a global working "onkeypress" event?
    By tobiu in forum Ext 1.x: Help & Discussion
    Replies: 10
    Last Post: 3 Jul 2007, 7:31 AM

Posting Permissions

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