更换了proxy,用gird.store.reload(),表格不刷新数据 本帖最后由 cy417358604 于 2012-06-18 23:25:02 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 额,自己解决了,按键事件的代码改成这样就行了var starttime=Ext.getCmp("starttime").getValue(); var endtime=Ext.getCmp("endtime").getValue(); DWREngine.setAsync(false); proxy = new Ext.data.DWRProxy(UserRecordService.searchWeekRcordByUsername, true); DWREngine.setAsync(true); ds = new Ext.data.GroupingStore({ proxy : proxy, reader : new Ext.data.ListRangeReader({ id : 'recordid', totalProperty : 'totalSize' }, recordType), remoteSort : true, sortInfo : { field : 'recordid', direction : "ASC" } }); ds.load({ params : { start : start, limit : pageSize }, arg : [], callback:function(records,options,success){ } }); grid.reconfigure(ds,cm); }来个人给分了 刚想说是不是你在更新过store后要对grid重bind 请问在可编辑div下如何实现TAB键的制表键功能 实在不知道怎么办了...求助 WEB页面 如何得到ActiveX控件里一个TextBox的值 求一有点难度的正则表达式 ext 2.0 gird 的箭头键移动记录的问题 innerHTML,浏览器问题?急急急! 关于firefox v23.01下输入日文超长会清空的问题 页面加载时延迟加载一个视频 jQuery自定义函数的回调函数中$(this)指向问题 highstock的右上角时间栏怎么隐藏掉?求大神解答啊 jquery 的ajax请求时,返回值正确,但后面总是附带一个“503” js文件追踪问题
var starttime=Ext.getCmp("starttime").getValue();
var endtime=Ext.getCmp("endtime").getValue();
DWREngine.setAsync(false);
proxy = new Ext.data.DWRProxy(UserRecordService.searchWeekRcordByUsername, true);
DWREngine.setAsync(true);
ds = new Ext.data.GroupingStore({
proxy : proxy,
reader : new Ext.data.ListRangeReader({
id : 'recordid',
totalProperty : 'totalSize'
}, recordType),
remoteSort : true,
sortInfo : {
field : 'recordid',
direction : "ASC"
}
});
ds.load({
params : {
start : start,
limit : pageSize
},
arg : [],
callback:function(records,options,success){
}
});
grid.reconfigure(ds,cm);
}来个人给分了