Вместо того, чтобы создавать функции и вызывать их, могу ли я запустить проверку схемы Kendo Grid> модель> поля> my_field> при нажатии клавиши в полях ввода?
schema: {
model: {
fields: {
field: { type: "string",
validation: {
ifieldValidation: function (input) {
// My code here. Instead of putting all this in separate function can I trigger this validation somehow?
return true;
}
return true;
}
},
},
... другие поля
$("#myselector").on("keydown", ".input-field", function (e) {
// instead of creating functions and calling those, can I trigger the Kendo Grid schema > model > fields > my_field > validation for example call the ifieldValidation ?
});