[CLOSED] event mask

  1. #1

    [CLOSED] event mask

    What is wrong with following ?
    Ext.getStore('someStore').load({
                    params: { incidentId: 1236, commentType: 1 },
                    eventMask: { showMask: true, customTarget: Ext.getCmp('someComp'), msg: 'Loading...' },
                    callback: function (records, operation, success) {
                        if (records.length == 0) {
                            Ext.getCmp('someWindow').show();
                        }
                    }
                })
    How to show mask when store is loading???
    Last edited by Daniil; May 28, 2013 at 1:19 PM. Reason: [CLOSED]
  2. #2
    Hi @odyssey,

    A store's load method doesn't support an eventMask option.

    Here is how you can achieve the requirement.

    Example
    Ext.net.Mask.show({
        el: "someComp"
    });
    store.load({
        callback: function () {
            Ext.net.Mask.hide();
        }
    });
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @odyssey,

    A store's load method doesn't support an eventMask option.

    Here is how you can achieve the requirement.

    Example
    Ext.net.Mask.show({
        el: "someComp"
    });
    store.load({
        callback: function () {
            Ext.net.Mask.hide();
        }
    });
    thanks a lot

Similar Threads

  1. Event Mask Problem
    By Ganesh3.shirsath in forum 1.x Help
    Replies: 0
    Last Post: Oct 20, 2010, 2:14 PM
  2. Event Mask Problem
    By Ganesh3.shirsath in forum 1.x Help
    Replies: 2
    Last Post: Oct 19, 2010, 10:52 PM
  3. How to add event mask for listeners
    By rasu_13 in forum 1.x Help
    Replies: 0
    Last Post: Mar 31, 2010, 3:16 AM
  4. Changing event mask Msg dynamically
    By okutbay in forum 1.x Help
    Replies: 0
    Last Post: Mar 09, 2010, 8:23 AM
  5. Disable Load Mask On Event
    By Tbaseflug in forum 1.x Help
    Replies: 3
    Last Post: Jan 09, 2009, 3:06 PM

Posting Permissions