放到onLoadSuccess事件中,要不reload加载的数据都没返回就已经执行$('#detail').datagrid('selectRow', index);这句代码了$('#detail').datagrid({
onLoadSuccess:function(){
if(window.index)$('#detail').datagrid('selectRow', index);
}
//......其他
})
onLoadSuccess:function(){
if(window.index)$('#detail').datagrid('selectRow', index);
}
//......其他
})
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货