or

var entityModel = kendo.data.Model.define({ id: 'Id', fields: { Id: { editable: false, defaultValue: '00000000' }, Name: {}, Invoices: { Approved: { type: 'date' }, Completed: { type: 'date', defaultValue: null }, Type: { type: 'number' } } }});<table id="invoices" data-role="grid" data-toolbar="[{ name: 'create', text: 'Add new invoice'}]" data-editable="inline" data-bind="source: Invoices" data-columns="[{field: 'Type', template: '#= app.invoiceTypes[Type].name #', editor: function (container, options) { $('<select></select>').appendTo(container).kendoDropDownList(); }}, {field: 'Approved', format: '{0:dd MMM yyyy}'}, {field: 'Completed', format: '{0:dd MMM yyyy}'}, {command: 'edit'}]"></table>