TreePanel->Tools(Type="Refresh"), when click refresh icon, can I show a mask over the TreePanel?

  1. #1

    TreePanel->Tools(Type="Refresh"), when click refresh icon, can I show a mask over the TreePanel?

    TreePanel->Tools(Type="Refresh"), when click refresh icon, can I show a mask over the TreePanel?

    I put a tools which type is refresh on my treepanel,when I want to reload my treepanel after I updateed the tree data. But now, after click refresh icon, there is nothing mask friendly showed on screen unitil the tree had been updated, can someone tell me how to show a mask over the treepanel at that time.

    by the way, can I expand a node which I want to, How?

    Thanks

    zhang
  2. #2
    TreePanel.body.mask( 'loading...' );
    TreePanel.body.unmask( );

    Hope this helps.
  3. #3
    Quote Originally Posted by firebank View Post
    TreePanel.body.mask( 'loading...' );
    TreePanel.body.unmask( );

    Hope this helps.
    :o, it works. Thanks

Similar Threads

  1. Replies: 5
    Last Post: Jul 31, 2012, 2:36 PM
  2. Replies: 5
    Last Post: Jul 19, 2012, 12:09 PM
  3. Replies: 4
    Last Post: May 22, 2012, 10:40 AM
  4. Replies: 2
    Last Post: Jul 14, 2011, 6:45 PM
  5. Replies: 1
    Last Post: Nov 03, 2010, 7:31 PM

Posting Permissions