Please entend this editor before using it.
$.extend($.fn.datagrid.defaults.editors, {
timepicker: {
init: function(container, options){
var input = $('<input type="text" class="datagrid-editable-input">').appendTo(container);
input.timepicker(options);
return input;
},
destroy: function(target){
$(target).timepicker('destroy');
},
getValue: function(target){
return $(target).timepicker('getValue');
},
setValue: function(target, value){
$(target).timepicker('setValue',value);
},
resize: function(target, width){
$(target).timepicker('resize',width);
}
}
})