PDA

View Full Version : Data.Store from ScriptTagProxy, and JsonReader



flatburger
17 Oct 2007, 9:52 AM
i got this script, and still confuse, how can a account_date

var account_data = new Ext.data.Store({
proxy: new Ext.data.ScriptTagProxy({url:'/yuiExt/listAccount.do?action=loadData&id=' + selectedId}),
reader: new Ext.data.JsonReader({},['id','firstname','password','username','lastname']),
remoteSort: false
});


can help me explain, this script, how can the store return object from the input of ScriptTagProxy and JsonReader