var OutDetailData=this.comp("OutDetailData);//这是cdata
cdata是用组件list显示在页面上的
var f1 = "";
OutDetailData.each(function(p1) {
if (OutDetailData.getValue("BILLID", p1.row) === BILLID) {
f1 = OutDetailData.getCurrentRowID();
}
});
OutDetailData.to(f1);
这样还是不行?