Results 1 to 2 of 2

Thread: Triggering a grids load mask?

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    43
    Vote Rating
    0
      0  

    Default 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
    549
    Vote Rating
    54
      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()

Posting Permissions

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