Hi,
I tried but it is still going to that cell. Please see below and tell me what am i doing wrong /correct me please
{
type: function (ui) {
var value = ui.value;
_found = false;
if ($("#medicaltable").pqGrid("isEditableCell", { dataIndx: ui.dataIndx })) {
for (var i = 0; i < adminfees.length; i++) {
if (value.toUpperCase() == adminfees.toUpperCase()) {
_found = true;
break;
}
}
if (!_found) {
ui.msg = value + " not found in list";
ui.value = "Choose One:";
return false;
}
}
else
{
return true;
}
}, icon: 'ui-icon-info'