1. #1
    Ext GWT Premium Member
    Join Date
    Mar 2008
    Posts
    87
    Vote Rating
    0
    EvilTed is on a distinguished road

      0  

    Default Masking the window?

    Masking the window?


    How do I mask everything if I popup my own window/widget?

    I want an effect similar to the modal Dialog, but to be able to do it for anything.

    I read about El.mask() but could use some help on how to use it.

    Thanks

    ET

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    this should work...

    Code:
    new El(RootPanel.get().getElement()).mask("I'm masked!!");

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    9
    Vote Rating
    0
    gaseguraj is on a distinguished road

      0  

    Default An example

    An example


    Hello everybody, i show a window and I need mask everything else., do you can post the code for an example about it? thanks so much.

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default


    If you are using a Window, then just set it to be modal http://extjs.com/deploy/gxtdocs/com/...tModal(boolean)

  5. #5
    Ext User
    Join Date
    Jul 2008
    Posts
    9
    Vote Rating
    0
    gaseguraj is on a distinguished road

      0  

    Default


    Thanks so much, I thought that it was more difficult .

Thread Participants: 2