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>
function BindDataToGrid(Data) {
var dataSource = new kendo.data.DataSource({
pageSize: 30,
data: Data,
autoSync:
true,
schema: {
model: {
id:
"ModuleID",
fields: {
ModuleID: { editable:
false, nullable: true },
Name: { editable:
false, nullable: true },
View: { editable:
false, nullable: true },
Add: { editable:
false, nullable: true },
Delete: { editable:
false, nullable: true },
IsDefault: { editable:
false, nullable: true }
}
}
}
});
$(
"#roleAccessGrid").kendoGrid({
dataSource: dataSource,
pageable:
true,
height: 260,
columns: [
{ field:
"Name", width: 120, title: "Module Name " },
//{ field: "ProductName", title: "Product Name" },
{field:
"View", width: 50, title: "View", template: '<input type="checkbox" # if(View==true){ # checked #} #></input>' },
{
field:
"Add",
width: 50,
title:
"Add",
template:
"<input type='checkbox' id='chkAdd' # if(Add==1){ # checked=checked #} # />"
},
{
field:
"Edit",
width: 50,
title:
"Edit",
template:
"<input type='checkbox' id='chkEdit' # if(Edit==1){ # checked #} # />"
},
{
field:
"Delete",
width: 50,
title:
"Delete",
template:
"<input type='checkbox' id='chkDelete' # if(Delete==1){ # checked #} # />"
},
{
field:
"IsDefault",
width: 50,
title:
"IsDefault",
template:
"<input type='checkbox' id='chkIsDefault' # if(IsDefault==1){ # checked #} # />"
}
],
editable:true 
});
My problem is that I am unable to retrieve the value after making a change on the check box.
Thanks in advance