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
    Feb 2010
    Location
    Brescia
    Posts
    60
    Vote Rating
    0
    ladro1987 is on a distinguished road

      0  

    Exclamation Loading Indicator gif Into a Grid

    Loading Indicator gif Into a Grid


    Hi all,
    I have a extjs grid end I would add a preload when the store load the records.

    I found this thread
    http://extjs.com/forum/showthread.php?p=22065

    But the solution doesn't work. The thread is dated in 2007 end i wouldn't that is old!

    This is main code of my grid

    Code:
        grid =  new Ext.grid.EditorGridPanel({
            store: store,
            loadMask : true,
            enableColLock:false,
            bufferResize: true,
            columnLines: true,
            height:320,
            split: true,
            clicksToEdit:2,
            region:'north',
            shadow:true,
            animCollapse: true,
            hideCollapseTool:true,
            frame:true,
            plain:false,
            autoExpandColumn: 'nome_struttura',
            selModel: csm,
            style: 'padding-top:5px;',
            cm: grid_bounces_ColumnModel,
            bbar: new Ext.PagingToolbar({
                pageSize: 10,
                store: store_bounces,
                displayInfo: true,
                displayMsg: 'Ritorni Visualizzati <b>{1}</b> di <b>{2}</b>',
                emptyMsg: '<b>Non sono presenti ritorni.</b>',
                plugins: new Ext.ux.SlidingPager()
            }),
            viewConfig:{
                forceFit:true
            }
        });
    
        store.load({params: {start: 0, limit: 10});
    And this is the main code of my dataStore:

    Code:
    store = new Ext.data.Store({
        proxy: new Ext.data.HttpProxy({
            url: directory+page,
            method: 'POST'
        }),
        baseParams:{task: "LISTING_BOUNCES"},
        reader: new Ext.data.JsonReader({
            root: 'root',
            totalProperty: 'totalCount',
            id: 'id'
        },[
            {name: 'id', type: 'int'}
                   .....
        ])
    });
    Help plz! Thanks!

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    What is the problem? You already used loadMask:true, so it should be showing a loading indicator.

  3. #3
    Sencha User
    Join Date
    Feb 2010
    Location
    Brescia
    Posts
    60
    Vote Rating
    0
    ladro1987 is on a distinguished road

      0  

    Default


    Yes, but I would add a Custom loading Mask.
    With my text, my class, ecc ecc

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    loadMask doesn't have to be 'true'. It can also be a LoadMask config object.

  5. #5

  6. #6
    Sencha User
    Join Date
    Feb 2010
    Location
    Brescia
    Posts
    60
    Vote Rating
    0
    ladro1987 is on a distinguished road

      0  

    Default


    Is just what I need!

    Thanks Keylan and Condor!!

Similar Threads

  1. Replies: 2
    Last Post: 12 Feb 2009, 2:37 AM
  2. Replies: 1
    Last Post: 20 May 2008, 9:47 AM
  3. Grid Panel Loading Indicator - Up top??
    By moloth in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 17 Sep 2007, 9:59 AM
  4. patch for moving loading indicator on page grid toolbar
    By jbowman in forum Community Discussion
    Replies: 0
    Last Post: 13 Nov 2006, 6:44 PM

Thread Participants: 2

Tags for this Thread