Results 1 to 5 of 5

Thread: How to you dynamically close a Ext.Msg

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    151
    Answers
    19

    Default Answered: How to you dynamically close a Ext.Msg

    How to you dynamically close a Ext.Msg ?
    What comes around goes around

  2. Ext.Msg is just a global instance of an Ext.MessageBox component, so:

    Code:
    Ext.Msg.hide();

  3. #2
    Sencha User AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Location
    Italy
    Posts
    1,395
    Answers
    148

    Default

    Ext.Msg is just a global instance of an Ext.MessageBox component, so:

    Code:
    Ext.Msg.hide();
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  4. #3
    Sencha User
    Join Date
    Aug 2010
    Posts
    315
    Answers
    4

    Default

    Why you want this? Ext.Msg should be used to interact with the user, instead just use a popup panel with a timeout function to hide it.

  5. #4
    Sencha User
    Join Date
    Sep 2012
    Posts
    151
    Answers
    19

    Default

    steve1964, I've give you an example. Say you have a large list of items you are loading into the user view, when then you would want a Alert message to say "Loading... Please wait" and when its done, it should hide itself!
    What comes around goes around

  6. #5
    Sencha User
    Join Date
    Aug 2010
    Posts
    315
    Answers
    4

    Default

    Sorry, but this is not the case, you should use mask loading for this not an alert and the dataview have config to do this.

Posting Permissions

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