This is a migrated thread and some comments may be shown as answers.

Grid-I want to set a dynamic value to the field in edit mode.

0 Answers 13 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chilam
Top achievements
Rank 1
Chilam asked on 07 Jul 2012, 12:32 PM
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.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Chilam
Top achievements
Rank 1
Share this question
or