var gridStore = Ext.create('Ext.data.Store', {
model: 'Writer.Person',
autoLoad: true,
autoSync: false,
proxy: {
type: 'ajax',
api: {
read: '?operant=2',
create: '?operant=3',
update: '?operant=4',
destroy: '?operant=5'
},
reader: {
type: 'json',
successProperty: 'success',
root: 'data',
messageProperty: 'message',
extraParams: {
user_id: "some text",
another_param: "more text"
}
}
}
});
我試過使用baseParams,params,我用小提琴來看,extjs沒有發送這個,怎麼辦?感謝如何設置store.proxy的參數
我的商店是autoload,然後? – liutao 2011-12-21 04:07:08