I'm trying to use GridEditMode.PopUp to enter times. I currently get the full date in a text box (see pic)
I originally used InLineEditing and was able to use the following:
columns.Bound(c => c.Arrival).Format("{0: HH:mm}").EditorTemplateName("TimeEdit");
This however does not work for PopUp editing. I found out that in order to make the "Name" column not editable in PopUp editing I had to create the following function in the view:
function EditGrid(e) {
if (!e.model.isNew()) {
$('#Name').attr('readonly', 'readonly');
}
}
I am guessing in this function is where I may be able to set the Arrive box to a time picker, but I can't find anything to work.