Results 1 to 2 of 2

Thread: Loading message not working

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Vote Rating

    Default Unanswered: Loading message not working

    Hi all,
    I am a newbie in Extjs. I want to create a simple login form and before form is loaded want to show a loading message. To do so my code is as below :
    this.items = [{
    xtype: 'form',
    listeners: {
    show: function() {
    this.loadMask = new Ext.LoadMask(this.body, {
    msg: 'Loading. Please wait...'
    frame: 'true',
    items: [{
    xtype: 'textfield',
    name: 'email',
    fieldLabel: 'Username',
    //vtype: 'email',
    allowBlank: false
    }, {
    xtype: 'textfield',
    name: 'password',
    fieldLabel: 'Password',
    inputType: 'password',
    style: 'margin-top:15px',
    allowBlank: false,
    //minLength: 8

    Though the form loads it doesn't show the loading spinner before form loading...please help me in doing the same.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Why not use the setLoading method on any component?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

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