|
楼主 |
发表于 2014-9-24 09:38:00
|
显示全部楼层
mainActivity.grdMainRowClick = function(event){
var data=justep.xbl("dataMain");
var rowID=data.getCurrentID();
var nowVal=data.getValue("calcCheckBox", rowID);
// alert(nowVal);
var setVal=1-nowVal;
// alert(setVal);
data.setValue("calcCheckBox", setVal, rowID);
// if(data.getValue("calcCheckBox", rowID)=="1"){
// justep.xbl("grdMain").grid.setRowColor(rowID,"yellow");
// }
// else{
// justep.xbl("grdMain").grid.setRowColor(rowID,"white");
// }
};
可是我给这个单击事件全部注视掉的话,还是不好用。 |
|