Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    4
    Vote Rating
    0
    miwaniec is on a distinguished road

      0  

    Default Answered: Data grid panel - loadMask text

    Answered: Data grid panel - loadMask text


    I need to change loading box message.
    I found a lot examples with loadMask, but in my case every failed.

    It is extended version from get started.
    Even set false to loadMask doesn't work - loading box shows.

    Code:
    Ext.define('SP.view.message.List' ,{
        extend: 'Ext.grid.Panel',
        alias: 'widget.messagelist',
        title: 'Messages',
        store: 'Messages',
        remoteSort: true,
    
        initComponent: function() {
            
            this.columns = [
            {
                header: 'Sender name',  
                dataIndex: 'sender',  
                flex: 1, 
                sortable: true
            },
             /* ..... */
            ];
            
            this.bbar = Ext.create('Ext.PagingToolbar', {
                store: this.store,
                emptyMsg: ""
            }),
            
            this.loadMask = new Ext.LoadMask(this, {msg:"Please wait..."});
            
            this.callParent(arguments);
    
        }
    });

  2. You should be able to use the following:

    Code:
    viewConfig: {
       loadingText: 'some other text...',
    },
    Scott

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,865
    Answers
    652
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      1  

    Default


    You should be able to use the following:

    Code:
    viewConfig: {
       loadingText: 'some other text...',
    },
    Scott

  4. #3
    Ext JS Premium Member
    Join Date
    Nov 2010
    Posts
    82
    Vote Rating
    0
    Syed Huda is on a distinguished road

      0  

    Exclamation loadingText isn't working...

    loadingText isn't working...


    Here's my code, but the loadingText is NOT working for some reason... any idea:

    Code:
            var searchGrid = Ext.create('Ext.grid.Panel', {
                itemId: 'search-grid',
                //loadMask: {msg: 'test'}, //no longer works in ext 4            
                viewConfig: {
                    loadingText : 'Loading...'
                },
                tbar:{
                    items:[{xtype: 'tbspacer'},
                           searchCriteriaLabel,
                           {xtype: 'tbspacer'},
                           searchAheadField,
                           {xtype: 'tbspacer'},
                           searchByLabel,
                           {xtype: 'tbspacer'},
                           searchByCombo
                           ]
                },            
                store: jsonStoreCompanies,
                columns: [
                          {header: search_title7, width: 80,    sortable: true,    dataIndex: 'CAPIQ_COMPANY_ID'},
                          {header: search_title8, width: 200,     sortable: true, dataIndex: 'COMPANY_NAME'},
                          {header: search_title9, width: 160,     sortable: true, dataIndex: 'MODEL' },
                          {header: search_title10,width: 120,     sortable: true, dataIndex: 'COUNTRY'},
                          {header: search_title14,width: 250,     sortable: true, dataIndex: 'INDUSTRY'},
                          {header: '', hidden: true, hideable: false, width: 10, sortable: true, dataIndex: 'MODEL_ID'}
                          ],
                          height: 500,
                          //width: 400,
                          //title: search_title16,                         
                          renderTo:'searchPanel',
                          // paging bar on the bottom                      
                          bbar: new Ext.PagingToolbar({
                              pageSize: 10,
                              store: jsonStoreCompanies,
                              displayInfo: true,
                              displayMsg: search_title20 + ' {2}', 
                              emptyMsg: search_title19           
                          })
                          
            });

Thread Participants: 2

Tags for this Thread