//----------------------------------------------------------
// grd_CnsgnStdntScreList02_ontextchange() : 백분율체크
//----------------------------------------------------------
function grd_CnsgnStdntScreList02_ontextchange(obj:Grid, e:GridEditTextChangeEventInfo)
{
var sColid = "";
if(e.cell == 3 || e.cell == 5 || e.cell == 6 ){
if(e.chartext == "-") return false;
if(toNumber(e.posttext) > 100) return false;
}
if(e.cell == 5 || e.cell == 6 ){
sColid = obj.getCellProperty("body", e.cell, "text");
sColid = sColid.slice(5);
if(toNumber(e.posttext) != Math.round(toNumber(e.posttext))) {
utlf_alert("err.his.srg.3011");//반올림해주세요
eval(obj.binddataset).setColumn(e.row, sColid, eval(obj.binddataset).getOrgColumn(e.row, sColid));
return false;
}
}
}