|
楼主 |
发表于 2015-3-27 16:16:27
|
显示全部楼层
还是不更新,下拉还是第一次的数据mainActivity.simpleSelect2Dropdown = function(event){
var ap = new justep.Request.ActionParam();
justep.xbl('data8').deleteAllRow();
ap.setString('xmmc', xmmc);
justep.Request.sendBizRequest2({
action:"querygxmcAction",
dataType:"json",
parameters:ap,
callback:function(result){
if (result.state) {
// alert("返回值:" + JSON.stringify(result.response));
justep.xbl("data8").loadJson(result.response);
justep.xbl("data8").refreshData() ;
}else{
throw new Error("调用失败!");
}
}
});
}
|
|