Hi,
I am using the grid to do the following
I am using the grid to do the following
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