I have an editable grid that I'd like to alert on if certain in the grid match a certain value. So on Cell exit I have:
var myItemRow = eworkGetCurrentRow ("grdInstrumentShop");
var strCurrentStatus = eworkGetCell("grdInstrumentShop", 6, myItemRow);
var strtrace = eworkGetCell("grdInstrumentShop", 8, myItemRow);
alert (" trace = " + strtrace + ");
alert ("strCurrentStatus = " + strCurrentStatus + ");
if((strCurrentStatus == "Fab Completed")&&(strtrace is null))
{
alert("Please provide the material trace information");
}
return true;
Nothing ever happens. Even the extra alerts I added for debug don't popup. What am I missing?
Thanks!