PDA

View Full Version : Grid + direct



jamesjara
26 Nov 2009, 3:47 PM
i need: call the data from a ws, and the grid must by change, but without refresh(lose scroll,and will be show a message(loading) each 3 seconds :-s,).. is direct what i need?


hi i search a lot but y cant found help about that...
I have too make a direct call, i need the grid be reading data of ws allways.

please somebody can give a full example exactly with a Grid...
or help me


var HttpProxy = new Ext.data.HttpProxy({
url: '',
method: 'POST'
});
var store = new Ext.data.DirectStore({
autoLoad: true,
proxy: HttpProxy,
reader:new Ext.data.JsonReader()
paramsAsHash:false,
directFn: answer.multiply <- wheere i configure that?
});