As I state in the subject. Is it possible to have batch editing/deletion, but the have a Popup Create?
I actually want to take it a step further and use the values from the grid's 'selected' rows to pre-populate/default the 'Create' pop-up.
Are either possible?
Thanks,
David
1 Answer, 1 is accepted
0
Alexander Valchev
Telerik team
answered on 12 Aug 2013, 04:47 PM
Hi David,
By design Kendo Grid operates in a single edit mode. Using multiple modes is not supported. Please consider working with either the inline or popup edit pattern.
Regarding your second question, if you wish to pre-populate the fields of the newly inserted item, you can use the edit event of the Grid. From the event parameters you can obtain a reference to the model. If the model is new you can modify it via set method.
edit: function(e) {
var model = e.model;
if(model.isNew()) {
//modify the model
}
}
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!