Results 1 to 2 of 2

Thread: Ext.Window close for out side mouse click

  1. #1

    Default Ext.Window close for out side mouse click

    I rendered Ext.Window by clicking button. And I want to close the rendered window when mouse click on out side the window. Is it possible to close window?

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    Add a document mousedown listener on show. In the handler check whether the event is within the Window's el.

    If not hide, the Window.

    Remove the listener on hide.


Similar Threads

  1. Flash movie in ext.panel sticks to mouse on mouse click
    By storycreator in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Aug 2009, 6:45 AM
  2. Close button for window comming on left side instead of right side
    By prakash.halan in forum Community Discussion
    Replies: 8
    Last Post: 26 Nov 2008, 6:26 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