PDA

View Full Version : loading dialogue while data loads in grid.



coooolmagic
22 Jul 2010, 5:50 AM
hi all

i am trying to use Loading dialogue used in this post.

deploy / dev / examples / form / xml-form.html (http://www.sencha.com/deploy/dev/examples/form/xml-form.html)

some how i can't link the idea.

pleas help.

here is my store. i am using a java array with data.

data is already available even before data is loaded in grid

v ar store = new Ext.data.Store({
reader: reader,
autoLoad: true,
data: arydata,
sortInfo:{field: 'document_name', direction: "ASC"}

});

fay
23 Jul 2010, 1:51 AM
If you want to display a message while the grid is "loading", specify a loadMask (http://www.sencha.com/deploy/dev/docs/?class=Ext.grid.GridPanel&member=loadMask) in the grid's config:



loadMask: {msg: 'Loading...'},