Results 1 to 2 of 2

Thread: How can i add statusbar to TreeLoader?

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Posts
    28

    Default How can i add statusbar to TreeLoader?

    I want to add a simple status message in status bar when i click on folder and tree loads its children. Also i would like to add mask too.

    I think that there is a easy solution, bet i can't google it.

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    Put a Ext.Toolbar.TextItem on the toolbar:
    Code:
    bbar: [{
      xtype: 'tbtext',
      id: 'mymessage'
    }]
    And change it's text:
    Code:
    Ext.getCmp('mymessage').setText('Status: Done');
    Masking:
    Code:
    tree.getEl().mask('Please wait...');
    ...
    tree.getEl().unmask();

Similar Threads

  1. how to add elememnts in Treeloader using java script
    By vlrk in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 6 Apr 2010, 7:12 AM
  2. i put a statusbar into a formpanel ,the statusbar's positon problem.
    By iceman09 in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 6 Jun 2008, 8:56 AM
  3. Replies: 1
    Last Post: 27 Apr 2008, 9:10 PM

Posting Permissions

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