-
20 Oct 2010 6:17 AM #1
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
And this is the main code of my dataStore: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});
Help plz! Thanks!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'} ..... ]) });
-
20 Oct 2010 6:27 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
What is the problem? You already used loadMask:true, so it should be showing a loading indicator.
-
20 Oct 2010 8:40 AM #3
Yes, but I would add a Custom loading Mask.
With my text, my class, ecc ecc
-
20 Oct 2010 9:28 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
loadMask doesn't have to be 'true'. It can also be a LoadMask config object.
-
20 Oct 2010 9:30 AM #5
-
21 Oct 2010 12:16 AM #6
Is just what I need!
Thanks Keylan and Condor!!
Similar Threads
-
[2.2.x] Slate-Theme: Loading indicator GIF in LoadMask not showing.
By mepfuso in forum Ext 2.x: BugsReplies: 2Last Post: 12 Feb 2009, 2:37 AM -
[SOLVED] loading indicator not showing loading.gif icon when exapanding tree nodes
By relix01 in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 20 May 2008, 9:47 AM -
Grid Panel Loading Indicator - Up top??
By moloth in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 17 Sep 2007, 9:59 AM -
patch for moving loading indicator on page grid toolbar
By jbowman in forum Community DiscussionReplies: 0Last Post: 13 Nov 2006, 6:44 PM



Reply With Quote