Hi all,
Here is the code:
function doOnCellEdit(stage,rId){
if (stage==2) {
var olddate=mygrid.cells(rId,3).getValue();
var newdate=mygrid.cells(rId,4).getValue();
if (olddate > newdate){
dhtmlx.alert("wrong date");
return false;}
}
return true;
}
I want to use dhtmlx.alert() to show the error message, but is seems to only work with alert().
Regards,
Rain