var ds_fy = Ext.create('Ext.data.Store', {
model : 'dataModel_markets_fy',
idProperty : 'Fid',
proxy : {
type : 'ajax',
api : {
create : 'S/xs_markets/xs_markets_fy.data.asp?act=newData',
read : 'S/xs_markets/xs_markets_fy.data.asp?act=getData',
update : 'S/xs_markets/xs_markets_fy.data.asp?act=setData',
destroy : 'S/xs_markets/xs_markets_fy.data.asp?act=delData'
},
reader : {
type : 'json',
root : 'Body'
},
writer : {
encode : true,
type : 'json',
root : 'data'//服务器端直接用 Request.Form('data')接收
}
}
});
extjs store
最新推荐文章于 2022-06-23 16:03:37 发布