[CLOSED] How to remove the loading mask temporarily?

  1. #1

    [CLOSED] How to remove the loading mask temporarily?

    Hi,

    A basic question here. I'm trying to disable the loadMask for grid temporarily when reloading its store manually. The code below doesn't work. Please suggest the correct approach.

    grid.loadMask = false;
    grid.getStore().reload({
            callback: function () { grid.loadMask = true; }
    });
    Last edited by Baidaly; May 23, 2013 at 3:49 AM. Reason: [CLOSED]
  2. #2
    Hello!

    You should use disable and enable methods of LoadMask object:
    http://docs.sencha.com/extjs/3.4.0/#...method-disable
    http://docs.sencha.com/extjs/3.4.0/#...-method-enable

    grid.loadMask.disable();
    grid.loadMask.enable();
  3. #3
    Thanks, that works very well! Please mark this question as resolved.
  4. #4
    This seems not working with version 3.1. Anyone knows how to do it now?

Similar Threads

  1. [CLOSED] Remove TextField's Input Mask
    By RCN in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 05, 2013, 4:19 PM
  2. [CLOSED] Multiselect loading mask
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 12, 2012, 11:12 AM
  3. [CLOSED] [1.0] Loading Mask
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 15, 2010, 3:35 PM
  4. [CLOSED] Loading Mask
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 28, 2009, 12:44 PM
  5. Loading Mask
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 25, 2008, 6:55 AM

Tags for this Thread

Posting Permissions