I want to set a dynamic value to the field in edit mode.i define a function in edit event.
kendoGrid({ edit : function (e) {
e.model.set("type","aaaaa");
}})
but if this field is define in the DataSource is required, it can not work.it alway show "type is required", but the value can not be set.but not required is work good.
how can make it work good when the field is define required in the datasource.
kendoGrid({ edit : function (e) {
e.model.set("type","aaaaa");
}})
but if this field is define in the DataSource is required, it can not work.it alway show "type is required", but the value can not be set.but not required is work good.
how can make it work good when the field is define required in the datasource.