日期:2014-05-16 浏览次数:20735 次
ds = new Ext.data.Store({
        proxy : new Ext.data.HttpProxy({
            url : formEmt.action,
            method : "post",
            form : formEmt,
            timeout : 30000,
            success : function(resp, opt) {alert(11)},
            failure : function(resp, opt) {alert(22)}
        }),
        reader : new Ext.data.JsonReader({
            totalProperty : 'total',
            root : 'root'
        }, valueArray),
        remoteSort : true
    });