1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    43
    Vote Rating
    0
    anfla is on a distinguished road

      0  

    Default Triggering a grids load mask?

    Triggering a grids load mask?


    Heya, community. I have a little question:

    I'm using an AJAX-request which is not triggered by the grid or the grid's store. Is it possible to use a loading mask, by activating it (and deactivating afterwards) with a method or something? I was unable to find something within the documentation.

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    You can mask and unmask the grid manually by using Ext.Element's mask and unmask methods:
    http://docs.sencha.com/ext-js/3-4/?m...nt#method-mask

    So for example:

    Code:
    Ext.getCmp('grid_id').getEl().mask()

Thread Participants: 1