I have 2 checkboxes/RadioButtons in a grid, what i want is only one of them can be checked. I followed some sample from other thread to write, but no luck, I am still not able to get value of that check box. This is how I access the checkbox
And this is my grid looks like
Please help me out, I've been stucking on this for quite a while.
$(
"#divGrid"
).data(
"kendoGrid"
).table[0].rows[0].
cells[0].children.ARadio;
And this is my grid looks like
$(
"#divGrid"
).kendoGrid({
dataSource: { data: ds, pageSize: 5 }
, pageable: { input:
true
, numeric:
false
}
, selectable:
true
, sortable:
true
, scrollable:
false
, columns: [{ title:
"A"
, template:
'<input type="checkbox" id="ARadio" ARadio="#= RequestId #"/>'
},
{ title:
"Requestor Name"
, field:
"RequestorName"
, template:
'<nobr><label style="width:120px;">#=RequestorName#</label></nobr>'
, width: 150 },
{ title:
"Request Type"
, field:
"RequestType"
},
{ title:
"Business Group"
, field:
"BusinessSilo"
, template:
'<nobr><label style="width:120px;">#=BusinessSilo#</label></nobr>'
, width: 120 },
{ title:
"Access Level"
, field:
"AccessLevel"
},
{ title:
"Access Justification"
, field:
"AccessJustification"
, template:
'<nobr><label style="width:120px;">#=AccessJustification#</label></nobr>'
, width: 150 },
{ title:
"Date Requested"
, field:
"DateRequested"
},
{ title:
"Date of Expiry"
, field:
"ExpirationDate"
}]
});
Please help me out, I've been stucking on this for quite a while.