Validation used for a field in KendoGrid works fine on currently being edited cell when I try to select other cell.But It doesn't work when I try to sort any column or use filter. Is it possible to prohibit user from sorting or filtering till validation for the field passes.
Code used for validation in datasource for one of field.
01.
Project:{
02.
editable:true,
03.
validation: {
04.
custom: function(input) {
05.
if(input.val()=="") {
06.
input.attr("data-custom-msg", "Message");
07.
return false;
08.
}
09.
else
10.
return true;
11.
}
12.
}
13.
}